Ticket #7607 (closed Bug: wontfix)
Style attribute is deleted from the sourcecode while switching from Source to WYSIWYG
|Reported by:||tiagoesferreira||Owned by:|
In version 2.X or 3.X of CKEditor, the "style" attribute is deleted from the sourcecode while switching from Source to WYSIWYG. On FCKeditor latest version (and nightly build), the problem is solved for Fire Fox and Chrome, but remains in IE (tested in the Demo at CK website).
A small test case would be, using IE6 or above (with WinXP or above):
- Move to Source view on the Editor;
- Add following html code:
<div class="test" style="#styleTest#"> test </div>
- Move to WYSIWYG view;
- Move back to Source view.
Note that if the style attribute includes regular css expressions it works just fine. I've tested it by replacing the code on step 2 for:
<div class="test" style="background-color: red"> test </div>
Thanks in advanced,
- Status changed from new to confirmed
- Keywords Clearing; Style Attribute; IE; removed
- Version changed from 3.5.3 to 3.0