#3782: Removing lists in table cells results in collapsed table cells.
--------------------------+-------------------------------------------------
 Reporter:  martinkou     |       Owner:  martinkou     
     Type:  Bug           |      Status:  new           
 Priority:  Normal        |   Milestone:  CKEditor 3.0  
Component:  Core : Lists  |     Version:  SVN (CKEditor)
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by garry.yao):

 These lines were for the logic of a special case regarding maintaining
 paragraph after remove list:
 {{{
 // Original Source
 line1
 <ul>
 <li>item</li>
 </ul>
 <br />

 // After arrayTolist, which append br for every line of items->

 line1<br />
 item<br />
 <br />

 // After L340 - 344, which figure out the br after item is redundant.
 line1<br />
 item
 <br />
 }}}
 A simple fix I can imagine but not tested is:
 {{{
 var rootParent = groupObj.root.getParent();
 newList.listNode.replace( groupObj.root );
 rootParent.appendBogus();
 }}}

 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3782#comment:2>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to