🐛 Bug Fix
- #1455 Dragging an element inside an
iframeeditor showed the drag ghost far away from the pointer. The ghost is aposition: fixedclone in the top document, but themousemovecoordinates come from the iframe document, so the ghost trailed the pointer by exactly the iframe's offset on the page. The iframe's position is now added to the ghost coordinates; the caret still uses the iframe-relative point.
🚀 New Feature
- #1438 New
cleanHTML.removeTrailingBroption (defaultfalse). Browsers keep a trailing<br>inside a block after typing into an empty one (<p>test<br></p>) and it ends up in the value. With the option on, the value getter drops a<br>that is the last node of a block — or of the whole value inenter: 'br'mode — and follows other content; empty blocks (<p><br></p>) and deliberate empty lines (text<br><br>) are kept.