When I remove all content from contenteditable field, and then start typing new text wrapped into the same tag as deleted text despite that in debugger there are no relevant elements.
Examples:
Expectable behavior is following (got in Firefox):
Could somebody help me to solve this issue?
P.S. If any extra information is needed please let me know.
delete
button press and get a selection with JS, callremoveAllRanges()
orcollapse()
orcollapseToEnd()
. I hope it can help