0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2025-01-24 15:28:41 -05:00
Squire/source
kyuwoo.choi 9eacfb7b22 fix: handle insert table by CF_HTML
ms html clipboard format CF_HTML handles table like below if we copy part of table.
it makes problem when copying table from ms product such as ie, excel, powerpoint then pasting to squire.

<TABLE BORDER>
<!--StartFragment-->
<TR><TD>Item 6</TD><TD>Item 7</TD></TR><TR><TD>Item 10</TD><TD>Item 11</TD></TR>
<!--EndFragment-->
</TABLE>

and

<TABLE BORDER><TR>
<!--StartFragment-->
<TD>Item</TD>
<!--EndFragment-->
</TR></TABLE>

https://msdn.microsoft.com/en-us/library/windows/desktop/ms649015(v=vs.85).aspx
#274
2017-05-10 13:59:30 +10: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: handle insert table by CF_HTML 2017-05-10 13:59:30 +10: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 Don't insert <br> inside end of <a> on enter 2017-03-21 17:06:44 +11:00
Node.js Add pointer from root node to Squire instance. 2016-12-07 17:54:13 +11:00
outro.js Add support for the AMD 2015-07-14 00:33:38 +08:00
Range.js Ensure moving boundaries up tree never passes root 2017-01-13 15:15:59 +11:00
TreeWalker.js Fix erroneous white-space removal when pasting inline fragment. 2015-06-23 09:46:15 +07:00