RichEditorView
RichEditorView copied to clipboard
RE.insertLink error. InvalidStateError: The object is in an invalid state.
[Error] InvalidStateError: The object is in an invalid state. surroundContents (rich_editor.js:264) insertLink (rich_editor.js:264)
My problem HTML.
<div id="editor" contenteditable="true" placeholder="" class="" style="line-height: 28px; color: rgb(0, 0, 0);">qwertyuiop<span style="color: rgb(213, 0, 0);">12345679</span></div>
qwertyuiop
<span style="color: rgb(213, 0, 0);">12345679</span>
</div>