0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2025-02-26 08:45:29 -05:00
Squire/build
Neil Jenkins 50fb7c7c53 Preserve block style if pasting on blank line
If the clipboard contains block contents, e.g.

<blockquote><p>Foo</p></blockquote>

Then if you paste it into a block that already has content we merge the inline
content from the first block and discard its surrounding block.

However, if you paste into an empty block, we'll now keep the block and remove
the empty one in the document. This seems a reasonable heuristic for determining
user intent.
2017-11-01 10:45:21 +11:00
..
document.html Require <html data-squireinit="true"> to auto-instantiate. 2015-07-06 12:19:21 +07:00
squire-raw.js Preserve block style if pasting on blank line 2017-11-01 10:45:21 +11:00
squire.js Preserve block style if pasting on blank line 2017-11-01 10:45:21 +11:00