-
-
Notifications
You must be signed in to change notification settings - Fork 192
Selection Restoration #27
Copy link
Copy link
Open
Description
In Editor.save(), injecting nodes into a contenteditable that is about to be cleared by innerHTML or textContent assignment lead to "Lost Node" errors.
Fix: Calculate the offset based on the flat textContent length before the DOM is rebuilt, then traverse the new DOM to find the equivalent character position.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels