Opened 12 years ago
Closed 11 years ago
#9207 closed Bug (fixed)
Source duplicates template background in IE
Reported by: | Sebastian | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | IE | Cc: | amol.kawale@… |
Description (last modified by )
Ticket REF : 6557-USFL-1340 | Ticket ID : 6730
- Add "Strange Template" template to text area
- Select all in text area (CERTL+A) and add a background color to template content
- Put cursor at the end of content (
More text goes here.^
) - Add a new template to text area and make sure "Replace actual contents" is unselected
Results:
- You have two templates with background colour IE6-8
- Or one with a background colour, one without (IE9) but once you click on Source then click Source again to go back to WYSIWYG mode the second template will get the background of the first. This only happens in IE9.
It seems that in IE9 block content is not being styled when it is pasted inside span.
Attachments (1)
Change History (5)
Changed 12 years ago by
Attachment: | Instructions-2-IE.doc added |
---|
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Status: | new → confirmed |
Version: | → 3.0 |
comment:2 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
This issue seems no longer reproducible in latest CKEditor 4.x. I'm closing it as fixed.
This is happening because second template (all tags) is pasted into span. When you switch to source and back CKEditor tries to fix the code and wraps every single element inside template in span.
The same root of the problem (pasting block into inline in IE) is applicable for other tickets: #8736, #8294. I think they all can be fixed with one patch.