Re:Pell – A simple and small rich-text editor for the web
by oneeyedpigeon on Thursday July 13, 2017 @04:36AM
(#14759687)
Appears to fail my semantics test right off the bat. Type "Line one\nLine two" results in:
[ Parent
| on HN ]
Re:Pell – A simple and small rich-text editor for the web
by kalleboo on Thursday July 13, 2017 @04:43AM
(#14759720)
Since it uses contenteditable, the result depends on your browser.
Firefox gives me
Line one
<br>
Line two
<br>
Re:Pell – A simple and small rich-text editor for the web
by oneeyedpigeon on Thursday July 13, 2017 @05:03AM
(#14759804)
Yeah, 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.