Changes between Initial Version and Version 2 of Ticket #6281


Ignore:
Timestamp:
Sep 13, 2010, 8:53:56 AM (14 years ago)
Author:
Krzysztof Studnik
Comment:

Confirmed in 3.4 and 3.4.1

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6281

    • Property Cc ladybug_3777@… added
    • Property Keywords UL LI OL List lists removed
    • Property Status changed from new to confirmed
  • Ticket #6281 – Description

    initial v2  
    11In the old fckeditor I could enter the following (incorrect) HTML code in source mode:
    2 
     2{{{
    33<li>item one</li>
    4 [[BR]]
    54<li>item two</li>
    6 
     5}}}
    76
    87When I toggled / switched back to wysiwyg mode fckeditor would realize I was trying to make a list and automatically append the proper UL tag around my list items like so:
    9 
    10 
    11 <ul>[[BR]]
    12 <li>item one</li>[[BR]]
    13 <li>item two</li>[[BR]]
    14 </ul>[[BR]]
    15 
     8{{{
     9<ul>
     10   <li>item one</li>
     11   <li>item two</li>
     12</ul>
     13}}}
    1614
    1715I've noticed that ckeditor 3.3.2 does not automatically detect that I'm trying to create a list and not only does it not add in the ul tags but instead creates new lines (more and more of them) every time I toggle from source to wysiwyg like so:
    1816First toggle:
    19 
     17{{{
    2018<p>&nbsp;</p>
    2119<p>
     
    2927        item two</li>
    3028</p>
    31 
     29}}}
    3230
    3331Second toggle:
    34 
     32{{{
    3533<p>&nbsp;</p>
    3634<p>&nbsp;</p>
     
    5149</p>
    5250<p>&nbsp;</p>
    53 
    54 Making the problem worse each time.
     51}}}
     52Making the problem '''worse each''' time.
    5553
    5654The problem is more pronounced if I forget to put in wrapping ul/ol AND also forget closing li tags. So for example if I put this into source:
    57 
    58 
    59 <li>item one[[BR]]
    60 <li>item two[[BR]]
    61 
     55{{{
     56<li>item one
     57<li>item two
     58}}}
    6259
    6360When I toggle out and back into source I now lose my first item completely and see this in source:
    6461
    65 
    6662Code: Select all
     63{{{
    6764<p>&nbsp;</p>
    6865<p>
     
    7067   two</li>
    7168</p>
    72 
     69}}}
    7370
    7471I realize users shouldn't be putting in bad list HTML code, but it seems unfortunate that the old version of the editor was able to handle this situation and the new editor makes a mess of it
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy