Changes between Initial Version and Version 1 of Ticket #90


Ignore:
Timestamp:
Feb 22, 2007, 10:24:25 AM (17 years ago)
Author:
Frederico Caldeira Knabben
Comment:

Confirmed on IE 6 also. Ok with Firefox.

Steps to reproduce:

  1. Enter the following code in the source:
<ul>
    <li class="decimal"><span class="ol">1. </span><em>Test 1</em>This line should appear on a new line, because a '&lt;br /&gt;' was entered with 'SHIFT + ENTER, just after '&lt;em&gt;Test 1&lt;/em&gt;'.</li>
</ul>
  1. Switch back to WYSIWYG.
  1. Place the cursor right after "Test 1".
  1. Hit Shift+Enter. The <br> will be correctly included.
  1. Switch back to source. The <br> will not be there anymore.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #90

    • Property Keywords IE added
    • Property Summary changed from disappearing <br /> in non-empty listitem to Disappearing <br /> in non-empty list item
  • Ticket #90 – Description

    initial v1  
    1 I'm having a problem entering <br /> in a non-empty listitem <li>[[BR]]
    2 I would like to create XHTML as the following:[[BR]][[BR]]
    3 <ul>[[BR]]
    4 <li class="decimal"><span class="ol">1. </span><em>Test 1</em><br />This line should appear on a new line, because a <br /> was entered with 'SHIFT + ENTER, just after '<em>Test 1</em>'.</li> [[BR]]
    5 </ul> [[BR]][[BR]]
     1I would like to create XHTML as the following:
    62
    7 But in fact in (Internet Explorer 7) when I hit SHIFT + ENTER a single time, the <br /> diasappears (for example: after switching to source-mode and back). [[BR]]
    8 In Firefox i've no problem at all and SHIFT + ENTER behaves like expected! [[BR]] [[BR]]
     3{{{
     4<ul>
     5    <li class="decimal">
     6        <span class="ol">1. </span><em>Test 1</em><br />
     7        This line should appear on a new line, because a '<br />'
     8        was entered with 'SHIFT + ENTER, just after '<em>Test 1</em>'.
     9    </li>
     10</ul>
     11}}}
    912
    10 I found two 'solutions': [[BR]]
    11 1. Remove the <em> and </em> surrounding 'Test 1' [[BR]]
    12 2. Hit SHIFT + ENTER twice!!!! [[BR]] [[BR]]
    13 For me this is a huge problem, because the users of my CMS (most of them use Internet Explorer) of course would never think about hitting SHIFT + ENTER twice. [[BR]] [[BR]]
    14 Regards, [[BR]]
     13But in fact in (Internet Explorer 7) when I hit SHIFT + ENTER a single time, the <br /> diasappears (for example: after switching to source-mode and back).
     14
     15In Firefox i've no problem at all and SHIFT + ENTER behaves like expected!
     16
     17I found two 'solutions':
     18
     19 1. Remove the <em> and </em> surrounding 'Test 1'
     20 1. Hit SHIFT + ENTER twice!!!!
     21
     22For me this is a huge problem, because the users of my CMS (most of them use Internet Explorer) of course would never think about hitting SHIFT + ENTER twice.
     23
     24Regards,[[BR]]
    1525Koen Willems
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy