Changes between Initial Version and Version 3 of Ticket #13870
- Timestamp:
- Feb 1, 2016, 4:38:21 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13870
-
Property
Status
changed from
new
toconfirmed
-
Property
Status
changed from
-
Ticket #13870 – Description
initial v3 16 16 1. Define your textarea as following: 17 17 18 {{{ 18 19 <textarea id="editor1"> 19 20 <p><span class="myItalic">Lorem Ipsum</span></p> 20 21 </textarea> 22 }}} 21 23 22 24 2. Init CKEditor: 23 25 26 {{{ 24 27 CKEDITOR.addCss('.myItalic {font-style: italic;}'); 25 28 CKEDITOR.replace( 'editor1', { … … 27 30 extraAllowedContent : 'span(*)' 28 31 } ); 32 }}} 29 33 30 34 == Expected result == 31 35 36 {{{ 32 37 <p><span class="myItalic">My new Lorem Ipsum</span></p> 38 }}} 33 39 34 40 Span tags should not be replaced with em-Tags like in other Browsers (FF, Chrome, ...) … … 40 46 41 47 The output in Source-Mode is: 48 49 {{{ 42 50 <p><em>my new text</em></p> 51 }}} 43 52 44 53