问题
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