有了很多帮助,我终于得到了CKEditor来更新关联的文本区域。 See the post here。ckeditor内容更改为textarea更改事件 - 表单上的多个ckeditors
但是,当表单上有超过1个CKEditor时,我很难理解如何让CKEditor更新每个关联的文本区域。
这里是我现在有的jQuery。它只更新窗体上的最后CKEditor的相关文本区域:
for (var i in CKEDITOR.instances) {
CKEDITOR.instances[i].on('change', function() { CKEDITOR.instances[i].updateElement() }); //update the relative hidden textarea.
}
当我在表格上5个或10 CKEditors如何更新各相关CKEditor的文本区域?
最后,你是唯一一个在互联网上发布了答案的人。 – dspacejs