Ticket #1634 (new Bug)
Next element corrupted when delete key triggers removal of empty <P> tag.
| Reported by: | wizzydes | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | UI : Enter Key | Version: | FCKeditor 2.5.1 |
| Keywords: | Confirmed | Cc: |
Description
I have a document containing:
<p> </p><div contenteditable="false" class="wizard">{my wizard content}</div><p> </p>
I wish to remove the gap above my DIV, so I put the caret into the paragraph and start hitting the delete key.
When the paragraph is removed, the next element (the div) is converted to a bare paragraph. i.e. code becomes <p>{my wizard content}</p><p> </p>
This is rather alarming considering my CMS wizard generator plugin was fairly simple to get working.
NB) The problem only occurs when DisableEnterKeyHandler is false, so I assume that it's the actual DoDelete that's doing this.
Change History
Note: See
TracTickets for help on using
tickets.