Changes between Initial Version and Version 3 of Ticket #13870


Ignore:
Timestamp:
Feb 1, 2016, 4:38:21 PM (4 years ago)
Author:
Marek Lewandowski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13870

    • Property Status changed from new to confirmed
  • Ticket #13870 – Description

    initial v3  
    16161. Define your textarea as following:
    1717
     18{{{
    1819<textarea id="editor1">
    19     <p><span class="myItalic">Lorem Ipsum</span></p>
     20        <p><span class="myItalic">Lorem Ipsum</span></p>
    2021</textarea>
     22}}}
    2123
    22242. Init CKEditor:
    2325
     26{{{
    2427CKEDITOR.addCss('.myItalic {font-style: italic;}');
    2528CKEDITOR.replace( 'editor1', {
     
    2730  extraAllowedContent : 'span(*)'
    2831} );
     32}}}
    2933
    3034== Expected result ==
    3135
     36{{{
    3237<p><span class="myItalic">My new Lorem Ipsum</span></p>
     38}}}
    3339
    3440Span tags should not be replaced with em-Tags like in other Browsers (FF, Chrome, ...)
     
    4046
    4147The output in Source-Mode is:
     48
     49{{{
    4250<p><em>my new text</em></p>
     51}}}
    4352
    4453
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy