0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00
Squire/source
Neil Jenkins 0ba91e627d Rewrite all <br>s in cleanupBRs fn.
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.
2013-02-25 10:39:27 +11:00
..
document.html Add IE10 compatibility. 2012-11-12 18:30:40 +11:00
Editor.js Rewrite all <br>s in cleanupBRs fn. 2013-02-25 10:39:27 +11:00
ie8dom.js Tidy. Ensure trailing new line in all source files 2012-08-07 13:36:05 +10:00
ie8range.js Fix IE returns null for getSelection if never focussed. 2012-08-09 15:08:04 +10:00
ie8types.js Catch all errors to allow logging. 2013-01-24 11:54:44 +11:00
Node.js Make Element#getPath more robust. 2013-01-30 11:28:36 +11:00
Range.js Fix bug in Range#insertTreeFragment 2013-01-30 11:30:11 +11:00
TreeWalker.js Add IE10 compatibility. 2012-11-12 18:30:40 +11:00
UA.js Add IE10 compatibility. 2012-11-12 18:30:40 +11:00