我使用CKEditor很长时间了。但我在尝试的时候遇到了一些问题
使用setData() method.The加载大型文档的问题是数据不是
设置为编辑器(编辑器为空)。我所做的就是,
这将在某一时间起作用,但有时在编辑器中看不到任何内容。
我做错了什么?拜托,帮帮我.
注:
如果没有将数据设置到文档中,则不会显示控制台错误。
发布于 2018-09-28 06:08:43
尝试使用CKEDITOR.replace(和instanceReady
CKEDITOR.replace('editor1', {
on: {
instanceReady: function( evt ) {
// your stuff here
}
}
});或
尝试使用CKEDITOR.inline(和instanceReady
CKEDITOR.inline('editor1', {
on: {
instanceReady: function () {
}
})https://stackoverflow.com/questions/52549227
复制相似问题