Opened 14 years ago
Closed 14 years ago
#5818 closed Bug (duplicate)
Editor strips the last <div>
Reported by: | Nick | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.3 |
Keywords: | Cc: |
Description
Editor strips out the last empty (or containig ) DIV This happens each time when you switch from source code to editor and back.
Ex: <div id="bottom1"></div> this will disappear when you switch to editor mode and back to view source
ex2: <div id="bottom1"></div><div id="bottom2"></div>
1st iteration: The first time you switch to editor and back the last div will vanish while the first will remain.
2nd iteration: All html will be gone!!
ex3: <div id="bottom1"></div><!-- any text here --> Nothing vanishes!!!
This happens in FF, IE, Chrome (didn't test others)
Change History (3)
comment:1 Changed 14 years ago by
Milestone: | CKEditor 3.x |
---|
comment:2 Changed 14 years ago by
I have several problems with this bug ... because the code of a simple css box with a top-middle-bottom image are affected by it.
<div style="background-image:url(/imagenes/sup_menu_inter.png); width:691px; height:41px; float:left"></div>
<div style="background-image:url(/imagenes/med_menu_inter.png); width:691px; float:left; background-repeat:repeat-y; padding-left:30px">
</div>
<div style="background-image:url(/imagenes/inf_menu_inter.png); width:691px; height:15px; float:left"></div>
comment:3 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
DUP of #5766.
You could try setting ignoreEmptyParagraph to false.
Milestone CKEditor 3.x deleted