mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
0ba91e627d
Previously, we were just removing <br>s that didn't have siblings on both sides. A better test is whether the containing block has any non-whitespace text content. If it does, the <br> is a line break and we can just split the block. If it doesn't though, we need to leave the <br> as a placeholder, to ensure the block doesn't collapse to 0 height. |
||
---|---|---|
.. | ||
document.html | ||
Editor.js | ||
ie8dom.js | ||
ie8range.js | ||
ie8types.js | ||
Node.js | ||
Range.js | ||
TreeWalker.js | ||
UA.js |