Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法在 CKEditor 中创建文本节点。请帮帮我。我试过了
var textNode = editor.document.text('myText');
在不知道你打算用一个做什么的情况下,我只能这么说
var ele = new CKEDITOR.dom.element("p", CKEDITOR.instances.editor1.document);
来源:文档