mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
9f5df9e5c0
On Chrome, if you made an inline formatting change, this would insert a new <span> with a ZWS inside so we could focus it. Pressing Space would remove this ZWS resulting in the focus ending up outside and so the formatting would be lost. We were removing the ZWS so we could check if we were at a block boundary correctly; instead, I've made it so the boundary check can handle trailing or leading ZWS (see previous commit). |
||
---|---|---|
.. | ||
Backspace.ts | ||
Delete.ts | ||
Enter.ts | ||
KeyHandlers.ts | ||
KeyHelpers.ts | ||
Space.ts | ||
Tab.ts |