0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00
Squire/source
Neil Jenkins b69a1635de Use mutation observers where possible to detect change
We need to know when the document is modified in order to fire an "input" event
and set the undo/redo state correctly. Observing keyup is imprecise, as it's
hard to tell whether the key press actually modified anything. Newer browsers
support mutation observers, which tell you precisely when something has changed.
For IE9/10, Opera 12 and other older browsers, we fall back to observing keyup
again.

Fixes #26.
2014-12-27 13:48:15 +07:00
..
Constants.js Use mutation observers where possible to detect change 2014-12-27 13:48:15 +07:00
document.html Remove IE8 support. 2014-11-29 20:08:53 +07:00
Editor.js Use mutation observers where possible to detect change 2014-12-27 13:48:15 +07:00
intro.js Add support mult-level lists. 2014-04-07 13:05:44 +10:00
Node.js Clean up empty inlines when deleting selection. 2014-12-25 15:09:46 +07:00
outro.js Fix ZWS removal when Squire script not in iframe. 2014-10-02 16:36:39 +07:00
Range.js Fix deleting selection across block boundary. 2014-12-26 14:48:13 +07:00
TreeWalker.js Remove FILTER_(ACCEPT|SKIP) constants. 2014-09-04 17:24:31 +07:00