我正在尝试在 CKEditor 中设置焦点,但没有任何效果。
我正在使用来自 cdn 的标准 4.8.0 版本。
哪里有问题?我在下面粘贴代码:
CKEDITOR.instances['note-content'].on("focusout", function(){
alert('ready');
});
note-content
是我的 div 与#id
.
CKEDITOR.instances['note-content'].getData();
CKEDITOR.instances['note-content'].setData(test);
完美运行
还尝试将cke
实例添加到变量,但没有任何效果。
有人能帮我吗?