Using a contenteditable div as a rich text editor; I've noticed that every browser handles the enter key differently. (FF inserts <br>
, IE <p>
, and chrome <div>
)
Whats the best way to go about making the enter key consistent with all browsers? Preferably avoiding having each use <p>
because I dislike the double space that causes between lines.