These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Encore\Admin\Form\Field; |
||
4 | |||
5 | use Encore\Admin\Form\Field; |
||
6 | |||
7 | class Editor extends Field |
||
8 | { |
||
9 | protected static $js = [ |
||
10 | '//cdn.ckeditor.com/4.5.10/standard/ckeditor.js', |
||
11 | ]; |
||
12 | |||
13 | public function render() |
||
14 | { |
||
15 | $this->script = "CKEDITOR.replace('{$this->id}');"; |
||
16 | |||
17 | return parent::render(); |
||
0 ignored issues
–
show
Bug
Compatibility
introduced
by
Loading history...
|
|||
18 | } |
||
19 | } |
||
20 |