2 ms·
Since it uses contenteditable, the result depends on your browser. Firefox gives me Line one <br> Line two <br>
by kalleboo 9y ago
Since it uses contenteditable, the result depends on your browser.
Firefox gives me
Line one
<br>
Line two
<br>
- oneeyedpigeon 9y agoYeah, I'm not convinced contenteditable is ready for primetime. In my experience, pairing it with some javascript that cleans up the poor markup is necessary.