Closed Bug 748306 Opened 8 years ago Closed 8 years ago

execCommand("insertParagraph") should work the same as hitting Enter

Categories

(Core :: DOM: Editor, enhancement)

enhancement
Not set

Tracking

()

RESOLVED DUPLICATE of bug 748307

People

(Reporter: ayg, Unassigned)

Details

execCommand("insertParagraph") has three behaviors in browsers.  Gecko behaves the same as execCommand("formatBlock", false, "p"), which is not useful.  IE overwrites the selection with an empty paragraph, which is also not useful.  WebKit and Opera behave the same as though the user hit the Enter key, which is useful, and is what I specced.
I'm fixing this together with bug 748307, since the work is basically the same.
No longer blocks: richtext2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 748307
You need to log in before you can comment on or make changes to this bug.