Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bugs in undo/redo and paste for JSON settings.
* Normalize in the `input` event that follows a `beforeinput` event, rather than in the later-queued microtask. This could be important if the microtask runs after *multiple* events that install multiple commands. * Improve normalization, which did not always return the correct first element. (normalize should return the first line element in the normalized range; but if the first line element was a multi-line <div> -- e.g., <div><div>a<br>b<br>c</div></div> -- it did not.) * Track more DOM modifications in the window selection object. * Do not combine modifications that have already been undone.
- Loading branch information