Neil Jenkins
3937c10b55
Extract getTextContentsOfRange helper fn
2023-10-02 13:12:51 +11:00
Neil Jenkins
9aa62781d0
Add toPlainText config option
...
This allows you to customise how HTML you cut/copy in the editor is
converted into plain text.
2023-10-02 13:01:16 +11:00
Neil Jenkins
e324748f0f
Remove obsolete execCommand calls
...
Firefox removed the need for this in v64.
Resolves #439 .
2023-10-02 12:41:55 +11:00
Callum Skeet
c9f10b297b
Make isPaste optional for Squire.insertHTML
...
This aligns the interface with the spec
2023-07-31 12:49:55 +10:00
Callum Skeet
a74ec739b9
Add autocomplete to config in Squire constructor
2023-07-31 12:49:15 +10:00
Callum Skeet
f1657acbc4
Export SquireConfig as type
2023-07-31 12:48:27 +10:00
Neil Jenkins
137c8f0b17
Consistently focus after removeAllFormatting
2023-02-22 11:14:16 +11:00
Joe Woods
00e3482815
Add secondary path if setBaseAndExtent undefined
2023-01-30 23:50:29 +00:00
Neil Jenkins
fe0dfdf6c4
Squire 2.0
...
This is a massive refactor to port Squire to TypeScript, fix a bunch of small
bugs and modernise our tooling. The development was done on an internal
repository, so apologies to anyone following externally for the commit dump;
updates from here should come as real commits again.
Co-authored-by: Joe Woods <woods@fastmailteam.com>
2023-01-23 13:18:29 +11:00