1 2 3
4
Gecko



WebKit
Blink
Servo N/A* N/A* N/A* N/A*
Edge
https://html-online.com/editor/
http://htmleditor.in
TinyMCE
BlueGriffon
CKEditor
Adobe Dreamweaver
Flux 6

* contenteditable non available

In the lines below, ][ represents the caret.

Column 1:

Source markup is <dl><dt>foo][</dt></dl>, user presses CR.

Expected markup (a single <br/> after the caret is ok) : <dl><dt>foo</dt><dd>][</dd></dl>

Column 2:

Source markup is <dl><dt>foo</dt><dd>bar][</dd></dl>, user presses CR.

Expected markup (a single <br/> after the caret is ok) : <dl><dt>foo</dt><dd>bar</dd><dt>][</dt></dl>

Column 3:

Source markup is <dl><div><dt>foo</dt><dd>bar][</dd></div></dl>, user presses CR.

Expected markup is <dl><div><dt>foo</dt><dd>bar][</dd></div><div><dt>][</dt></div></dl>
or <dl><div><dt>foo</dt><dd>bar][</dd></div><dt>][</dt></dl>

Column 4:

Source markup is <dl><div><dt>foo][</dt></div></dl>, user presses CR.

Expected markup is <dl><div><dt>foo</dt><dd>][</dd></div></dl>