Test input (vertical bars are cursor position indicator):
111
222
333|
Now, double click on the end of the second line (not on text) to select the whole line, and then press Delete.
Console logs:
Uncaught DOMException: Node.insertBefore: Child to insert before is not a child of this node
t file:///.../tiny-markdown-editor/dist/tiny-mde.tiny.js:1
t file:///.../tiny-markdown-editor/dist/tiny-mde.tiny.js:1
fixNodeHierarchy file:///.../tiny-markdown-editor/dist/tiny-mde.tiny.js:1
fixNodeHierarchy file:///.../tiny-markdown-editor/dist/tiny-mde.tiny.js:1
handleInputEvent file:///.../tiny-markdown-editor/dist/tiny-mde.tiny.js:1
createEditorElement file:///.../tiny-markdown-editor/dist/tiny-mde.tiny.js:1
createEditorElement file:///.../tiny-markdown-editor/dist/tiny-mde.tiny.js:1
<anonymous> file:///.../tiny-markdown-editor/dist/tiny-mde.tiny.js:1
<anonymous> file:///.../tiny-markdown-editor/test.html:21
[tiny-mde.tiny.js:1](file:///.../tiny-markdown-editor/dist/tiny-mde.tiny.js)
Test input (vertical bars are cursor position indicator):
Now, double click on the end of the second line (not on text) to select the whole line, and then press Delete.
Console logs:
Firefox, again. 😇 Long time no see.