Closed Bug 1242903 Opened 8 years ago Closed 8 years ago

contenteditable, <br></br> is inserted after pressing return

Categories

(DevTools :: Inspector, defect)

47 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 820926

People

(Reporter: cyril.auburtin, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.13 Safari/537.36

Steps to reproduce:

demo: http://jsfiddle.net/crl/vzk98tuv/1

see the elements with the console in parallel, when pressing line return/enter in the contenteditable <br></br> is inserted, 

it should be at least a <br>, or rather a new div with insertBrOnReturn false


Actual results:

invalid html


Expected results:

it should be at least a <br>, or rather a new div with insertBrOnReturn false
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Component: Untriaged → Developer Tools: Inspector
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.