我在我的页面上的不同标签下有许多CKEditors (有字段集),并使用自动增长插件。但是插件似乎并不适用于所有的编辑器,除了那些属于焦点选项卡的编辑器。我已经添加了下面的行。
config.autoGrow_onStartup = true; config.extraPlugins = 'autogrow'; config.removePlugins = 'resize';
但是当我在更改标签后点击编辑器时,自动增长插件会正确地调整编辑器的大小。
任何建议。
发布于 2017-03-14 19:02:20
在你的代码之前添加这个。
<script src="https://cdn.ckeditor.com/4.5.7/standard/ckeditor.js"></script>
CKEDITOR.replace('.textarea');
https://stackoverflow.com/questions/42783795
复制相似问题