Opened 12 years ago
Closed 12 years ago
#9323 closed Bug (invalid)
IE: Enter creating a new paragraph instead of new line in Paste dialog
Reported by: | Satya Minnekanti | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | IBM | Cc: | Damian, Teresa Monahan |
Description
To reproduce the defect:
- Open any CK Editor sample and click on Paste or Paste from Word icons in the toolbar.
- In the Paste area in Paste dialog enter some content and press Enter.
Expected Result: A new line created with <br /> tag
Actual Result: A new paragraoh created every time we press Enter
This is only happening in IE, where as in all other browsers it's creating a new line with <br />
Actually IE and Opera create P, FF creates BR and Webkit creates DIV.
If you look at the source of the dialog you will seethat is uses body with contenteditable=true.
This is what browser inserts by default and it can't be changed. What is more inserted content gets adjusted to current enter mode so there is no error here.