0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00
Squire/source
Neil Jenkins 6842cb94eb Fix undo does not always restore cursor position.
If the content hasn't changed before an undo point is requested we ignore the
request, but the cursor position may have changed and users expect undo to
restore the cursor position immediately before the requested change was made.

So in this instance we now still record an undo state, but replace the previous
one if the content is unchanged.
2017-07-19 14:29:36 +02:00
..
Clean.js Fix empty lines missing when copying plain text 2017-01-10 10:05:35 +11:00
Clipboard.js Fix potential infinite loop on cut 2017-01-19 17:08:39 +11:00
Constants.js Improve copying of plain text on windows 2016-12-11 12:32:25 +11:00
document.html Require <html data-squireinit="true"> to auto-instantiate. 2015-07-06 12:19:21 +07:00
Editor.js Fix undo does not always restore cursor position. 2017-07-19 14:29:36 +02:00
exports.js Export useful Node helper functions 2016-12-07 18:42:48 +11: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 Improved algorithm for inserting tree into range 2017-07-19 14:29:16 +02:00
Node.js Improved algorithm for inserting tree into range 2017-07-19 14:29:16 +02:00
outro.js Add support for the AMD 2015-07-14 00:33:38 +08:00
Range.js Improved algorithm for inserting tree into range 2017-07-19 14:29:16 +02:00
TreeWalker.js Fix erroneous white-space removal when pasting inline fragment. 2015-06-23 09:46:15 +07:00