mirror of
https://github.com/fastmail/Squire.git
synced 2025-03-06 20:51:22 -05:00
The only time we don't want to restore selection is if the user explicitly changes it, by clicking/touching a specific cursor point. Fixes formatting commands in IE11, where the mutation event first between calling editor.focus() and the focus event actually firing, rather than after the focus event as in other browsers. |
||
---|---|---|
.. | ||
document.html | ||
squire-raw.js | ||
squire.js |