Reference for inserted element through execCommand (insertContent) in TinyMCE

北慕城南 提交于 2019-12-10 21:27:43

问题


I need a reference for the element which i have inserted in TinyMCE editor through

ed.execCommand('mceInsertContent', false, '<span class="marker">my_node_content</span>')

OR, Is there any workaround to insert element at cursor index other than execCommand in TinyMCE editor?

So that, I can retain the reference to inserted element.

来源:https://stackoverflow.com/questions/27547715/reference-for-inserted-element-through-execcommand-insertcontent-in-tinymce

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!