0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00
Squire/source
Neil Jenkins bd4d377cf0 Sanitise pasted HTML if DOMPurify library present.
This protects against malicious HTML being added to the clipboard, and also
removes unwanted content before insertion.

DOMPurify can be found at https://github.com/cure53/DOMPurify
2016-06-06 12:36:08 +10:00
..
Clean.js Cleanup P and Underline tags 2016-05-26 14:16:15 +10:00
Clipboard.js Add undo checkpoint on drop. 2016-05-26 13:54:26 +10:00
Constants.js Make Squire work without an iframe(!) 2016-03-23 17:41:09 +11:00
document.html Require <html data-squireinit="true"> to auto-instantiate. 2015-07-06 12:19:21 +07:00
Editor.js Sanitise pasted HTML if DOMPurify library present. 2016-06-06 12:36:08 +10: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 support for default <a> attributes 2016-05-05 11:50:36 +10:00
Node.js Don't merge <a> tags. 2016-05-26 10:33:18 +10:00
outro.js Add support for the AMD 2015-07-14 00:33:38 +08:00
Range.js Fix determining if at start of block when at end of doc 2016-05-26 11:42:53 +10:00
TreeWalker.js Fix erroneous white-space removal when pasting inline fragment. 2015-06-23 09:46:15 +07:00