mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-03 05:00:13 -05:00
70a2b48333
If an action modifies the selection while the editor is not focused, we cannot immediately set it in the DOM as this triggers focus. So instead we cache it and restore on focus. If getSelection is called before the editor is next focused, we need to return this new selection, not the current DOM selection. Fixes #259 |
||
---|---|---|
.. | ||
Clean.js | ||
Clipboard.js | ||
Constants.js | ||
document.html | ||
Editor.js | ||
exports.js | ||
intro.js | ||
KeyHandlers.js | ||
Node.js | ||
outro.js | ||
Range.js | ||
TreeWalker.js |