Changes between Initial Version and Version 3 of Ticket #4638


Ignore:
Timestamp:
Jun 13, 2012, 12:36:06 PM (12 years ago)
Author:
Jakub Ś
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4638

    • Property Status changed from new to confirmed
    • Property Version changed from 3.0.1 to 3.0
  • Ticket #4638 – Description

    initial v3  
    1 CKEditor 3.0.1 is incorrectly wrapping tags with arbitrary <p> and <br /> tags.
     1CKEditor 3.0.1 is incorrectly wrapping tags with arbitrary <p> tags.
    22
    3 Problem / Steps to reproduction:
    4 Switch to HTML mode, type:
    5 <script type="text/javascript">alert('hello');</script>
     3**Problem / Steps to reproduction:**
     41. Switch to HTML mode, type:
    65
    7 Expected result (as per XHTML spec):
    8 <script type="text/javascript">// <![CDATA[
    9 alert('hello');
    10 // ]]></script>
     6{{{
     7<br /><script type="text/javascript">alert('hello');</script>
     8}}}
     9or
     10{{{
     11sample text <script type="text/javascript">alert('hello');</script>
     12}}}
     132. Switch to WYSIWYG
     14**Expected result (as per XHTML spec):** [[BR]] 
     15{{{<script type="text/javascript">alert('hello');</script>}}}
    1116
    12 Actual result:
    13 <p>
    14         <br />
    15         <script type="text/javascript">alert('hello');</script></p>
     17**Actual result:** [[BR]]
     18{{{<p><br /><script type="text/javascript">alert('hello');</script></p>}}}
    1619
     20This problem shouldn't / can not be remedied by changing the enter mode, **as we want text wrapped in <p>, but not <script> tags**
    1721
    18 This problem also exists in the demo (http://ckeditor.com/demo)
    19 
    20 This problem shouldn't / can not be remedied by changing the enter mode, as we want text wrapped in <p>, but not <script>
    21 
    22 <table is not wrapped in <p> when added in HTML mode.
    23 
    24 Kind Regards,
     22Kind Regards,[[BR]]
    2523Johannes
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy