mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
cbde45311a
We were looking at the selection properties after we had mutated the DOM, and trying to manipulate them based on some numbers cached from before mutating the DOM, which could result in trying to set a negative index for the selection offset. Instead, calculate all our values before we do any mutations. Fixes #430 |
||
---|---|---|
.. | ||
keyboard | ||
node | ||
range | ||
Clean.ts | ||
Clipboard.ts | ||
Constants.ts | ||
Editor.ts | ||
Legacy.ts | ||
Squire.ts |