0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00
Squire/source
Neil Jenkins 345159b4c4 Better algorithm for remove all formatting action.
1. Keeps all leaf nodes not just text nodes, so images etc. are not removed.
2. If the selection is not within a single block, it is expanded to the edges
   of the blocks rather than splitting the blocks; this is unlikely to have
   been what the user wanted.
3. More efficient tree traversal and manipulation; no duplication of nodes.
4. Records undo state before performing the action.
2015-06-17 15:43:27 +07:00
..
Constants.js Add method to set key handlers. 2015-04-29 11:16:11 +07:00
document.html Remove IE8 support. 2014-11-29 20:08:53 +07:00
Editor.js Better algorithm for remove all formatting action. 2015-06-17 15:43:27 +07:00
intro.js make it possible to replace the reference to e.fragment in willPaste event, also add isDefaultPrevented method to that event 2015-05-01 14:07:28 -04:00
KeyHandlers.js Add method to set key handlers. 2015-04-29 11:16:11 +07:00
Node.js Allow setting default attributes for ul/ol/li/blockquote. 2015-05-09 17:22:54 +07:00
outro.js Merge branch 'npm' of https://github.com/shiawuen/Squire into shiawuen-npm 2015-05-09 17:29:50 +07:00
Range.js Fix error thrown inserting tree fragment at start/end of document. 2015-06-17 15:43:26 +07:00
TreeWalker.js Remove FILTER_(ACCEPT|SKIP) constants. 2014-09-04 17:24:31 +07:00