Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/275.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php laravel-CKEditor没有出现_Php_Laravel_Ckeditor - Fatal编程技术网

Php laravel-CKEditor没有出现

Php laravel-CKEditor没有出现,php,laravel,ckeditor,Php,Laravel,Ckeditor,我没什么问题。我试图将CKEditor添加到我的textarea字段,但是..但它没有显示。我只得到了空格,而不是字段。 下面是截图: 这是我的文本区域字段: {{ Form::textarea('other_details', '', array('class'=>'form-control other_details', 'placeholder'=>trans('event.additional'))) }} 如何添加编辑器的.js文件: {{ HTML::script('

我没什么问题。我试图将CKEditor添加到我的textarea字段,但是..但它没有显示。我只得到了空格,而不是字段。 下面是截图:

这是我的文本区域字段:

{{ Form::textarea('other_details', '', array('class'=>'form-control other_details', 'placeholder'=>trans('event.additional'))) }}
如何添加编辑器的.js文件:

{{ HTML::script('js/ckeditor.js') }}
CKEDITOR.replace('other_details');
现在我如何在自定义.js文件中调用脚本:

{{ HTML::script('js/ckeditor.js') }}
CKEDITOR.replace('other_details');

我想ckeditor创建了一个div,并用inspect元素隐藏了你的textarea检查。你使用的是什么版本的Laravel?我使用的是laravel4。得到了答案。答案在第一个答案的注释中。