0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00
Squire/source
Neil Jenkins 9f5df9e5c0 Fix format intent lost after pressing Space
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).
2023-09-27 14:56:00 +10:00
..
keyboard Fix format intent lost after pressing Space 2023-09-27 14:56:00 +10:00
node Use Array.from for older browser support 2023-02-22 11:13:38 +11:00
range Ignore ZWS when determining if at block boundary 2023-09-27 14:51:26 +10:00
Clean.ts Remove redundant <span> after replacing styles 2023-02-01 13:52:53 +11:00
Clipboard.ts Squire 2.0 2023-01-23 13:18:29 +11:00
Constants.ts Squire 2.0 2023-01-23 13:18:29 +11:00
Editor.ts Make isPaste optional for Squire.insertHTML 2023-07-31 12:49:55 +10:00
Legacy.ts Squire 2.0 2023-01-23 13:18:29 +11:00
Squire.ts Squire 2.0 2023-01-23 13:18:29 +11:00