Changes between Initial Version and Version 4 of Ticket #332


Ignore:
Timestamp:
Jul 3, 2007, 12:26:42 PM (12 years ago)
Author:
Frederico Caldeira Knabben
Comment:

It doesn't happen with lists only. Any kind of block with ends with a link will present the same problem.

For example:

  1. Load <p><a href="http://www.fckeditor.net/">FCKeditor</a></p> in the source.
  2. In WYSIWYG, click after "FCKeditor" and hit Enter.
  3. Type "Test".

You have this output:

<p><a href="http://www.fckeditor.net/">FCKeditor</a></p>
<p><a href="http://www.fckeditor.net/">Test</a></p>

While the expected is:

<p><a href="http://www.fckeditor.net/">FCKeditor</a></p>
<p>Test</p>

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #332

    • Property Cc Pascal.KUSTNER@… added
    • Property Summary changed from <a> whitn <li> to Hitting Enter after links continues the link in the new paragraph
    • Property Version changed from to FCKeditor 2.4.2
    • Property Milestone changed from to FCKeditor 2.5
    • Property Keywords Confirmed Firefox SD-COE added
  • Ticket #332 – Description

    initial v4  
    11Handling of <a>-Tags within <li> is broken.
    22Reproduction at the nightly build just right now :
    3 1. Hit return for a new line.
    4 2. Press "Insert Bulleted list" - Button
    5 3. Press "Insert Link" - Button
    6 4. enter  www.blah.org as target and hit return to return back to gui
    7 5. Hit return to get new bullet.
    8 6. type "asd"
     3
     4 1. Hit return for a new line.
     5 2. Press "Insert Bulleted list" - Button
     6 3. Press "Insert Link" - Button
     7 4. enter  www.blah.org as target and hit return to return back to gui
     8 5. Hit return to get new bullet.
     9 6. type "asd"
    910
    1011provides as source :
    1112
     13{{{
    1214<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>
    1315<ul>
     
    1618</ul>
    1719<p>&nbsp;</p>
     20}}}
    1821
    1922Meaning, the <a>-Tag from the first bullet has been inherited by the second one, which is not what users expect, I guess.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy