Symfony2中的Ckeditor

时间:2016-06-27 14:54:16

标签: symfony ckeditor

在我的模板中我有:

<form>
  <textarea name="editor1" id="editor1" rows="10" cols="80">
    This is my textarea to be replaced with CKEditor.
  </textarea>
  <script>
    // Replace the <textarea id="editor1"> with a CKEditor
    // instance, using default configuration.
    CKEDITOR.replace('editor1', { toolbar : [ ['Bold','Italic','Font','FontSize'] ] });
  </script>
</form>

结果如下:

  

localhost / PeopleSymfony / web / app_dev.php / index / config.js?t = G4CD无法加载资源:服务器响应状态为500(内部服务器错误)       7391ff2_ckeditor_5.js:85       获取http://localhost/PeopleSymfony/web/app_dev.php/index/lang/es.js?t=G4CD http://localhost/PeopleSymfony/web/app_dev.php/index/skins/moono/

我不知道如何解决。 我做了php app / console资产:安装重新安装资产但有相同的错误

为什么要搜索es.js //localhost/PeopleSymfony/web/app_dev.php/index/lang/es.js?t=G4CD并且没有捆绑ivoryckeditor?

0 个答案:

没有答案