Changes between Initial Version and Version 2 of Ticket #14784


Ignore:
Timestamp:
Aug 24, 2016, 8:53:55 AM (4 years ago)
Author:
Jakub Ś
Comment:

Edit:

  1. I have rechecked the problem and it doesn't happen when ACF is enabled. When ACF is on it will remove invalid span tag.
  1. Since point 2 proves that you have ACF disabled, I'm not sure why lists get removed. Perhaps something on server-side filters these lists?
  1. There is another solution you can use for empty i tags. It requires ACF being enabled and dtd modification. Try using below to preserve them.
CKEDITOR.dtd.$removeEmpty['i'] = false; 
var editor = CKEDITOR.replace( 'editor1', {
	coreStyles_italic : { element: 'i', overrides: 'em' },
	extraAllowedContent : 'i[*]{*}(*)'
});

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14784

    • Property Status changed from new to closed
    • Property Version changed from 4.4.6 to
    • Property Resolution changed from to invalid
  • Ticket #14784 – Description

    initial v2  
    88'''Original code:
    99'''
     10
     11{{{
    1012<div class="cms-block xs-100 sm-50 md-50 lg-25 xl-25">
    1113                <span class="block-content" style="height: 214px;">
     
    2628</div>
    2729</div>
     30}}}
    2831
    2932'''Code after insert and save:
    3033'''
     34
     35{{{
    3136<div class="cms-block xs-100 sm-50 md-50 lg-25 xl-25">
    3237<div class="block-icon block-icon-left" style="background-color: rgb(235, 88, 88); width: 30px; height: 30px; line-height: 30px; border-radius: 50%">&nbsp;</div>
     
    5560</div>
    5661</div>
     62}}}
     63
    5764
    5865Thanks for prompt reply,
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy