Opened 15 years ago
Closed 15 years ago
#4651 closed Bug (fixed)
[FF] Deleted and Inserted text styles being rendered
Reported by: | Joe Kavanagh | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.1 |
Component: | Core : Styles | Version: | 3.0.1 |
Keywords: | IBM Confirmed Review+ | Cc: | dchojna@… |
Description (last modified by )
Using the Ajax sample.
- Create an editor instance.
- Insert some text.
- Select the text and apply the "Deleted Text" style.
Observe that the text does not change.
When you remove the editor from the page the text remains the same. The text does get surrounded by del elements. It may be due to the fact that del and ins elements are not allowed to contain block elements when they are used like inline elements.
Attachments (2)
Change History (10)
comment:1 Changed 15 years ago by
Keywords: | Confirmed added |
---|
Changed 15 years ago by
Attachment: | 4651.patch added |
---|
comment:2 Changed 15 years ago by
Keywords: | Review? added |
---|---|
Owner: | set to Garry Yao |
Status: | new → assigned |
Ticket Test added at :
http://ckeditor.t/tt/4651/1.html.
comment:3 Changed 15 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 15 years ago by
Keywords: | Review- added; Review? removed |
---|
I think that instead of doing hacks to workaround the issue, we could simply fix the DTD to make <ins> and <del> behave like any other inline only element, like <b>.
Changed 15 years ago by
Attachment: | 4651_2.patch added |
---|
comment:5 Changed 15 years ago by
Keywords: | Review? added; Review- removed |
---|
comment:7 Changed 15 years ago by
Keywords: | Review+ added; Review? removed |
---|
<del> and <ins> should be always consider as inline elements in the editor when applying them.