Opened 12 years ago
Last modified 11 years ago
#10541 confirmed Bug
Maximising removes styling of wrapping div
Reported by: | Tony Christopher | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Cc: |
Description
When maximising CKEditor it appears to replace styling in place around a wrapping container, rather than appending to it.
To replicate the bug:
*Create a div with css display set to none, and place an instance of CKEditor inside this div. *Use jQuery to show the div on page load. *Click the maximise button
The display: block set by the jQuery will have been replaced. If you manually add this back in by editing the HTML with a console, minimising the window will leave the display: block in.
Modified sample file replacebyclass.html with an example of this bug is attached.
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | replacebyclass.html added |
---|
comment:1 Changed 12 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.1.2 → 3.0 |
Problem can be reproduced from CKEditor 3.0 in both CKE 4.x and 3.x.
The same thing happens when you use
document.getElementById('starthidden').style.display='block';
It seems when pressing maximize editor adds position: static; z-index: 9995; width: 0px; height: 0px;
all the way up (to div, form body and html).
comment:2 Changed 11 years ago by
As a note to anyone who is subject to this bug, a work around is to not use CSS to hide the div, but JavaScript to hide it on page load if needed.
Example file showing bug in action.