mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
950e122c5c
Instead of using innerText, this now uses the getTextContentsOfRange helper fn to work out the white space, so is consistent with the editor's getSelectedText method and should be higher fidelity. Note, you can still override the behaviour by supplying a toPlainText fn in the editor config (such as the one you can find at https://github.com/fastmail/overture/blob/master/source/html/toPlainText.js) |
||
---|---|---|
.. | ||
keyboard | ||
node | ||
range | ||
Clean.ts | ||
Clipboard.ts | ||
Constants.ts | ||
Editor.ts | ||
Legacy.ts | ||
Squire.ts |