SHARE
TWEET

Untitled

a guest Aug 23rd, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CKEDITOR.dtd.removeFormatTags['i'] = false;
  2.    
  3. var editor = CKEDITOR.replace( 'editor1', {
  4.     extraAllowedContent : 'i(*)', //allow any class of i
  5.     coreStyles_italic : {
  6.         element: 'i',
  7.         overrides : 'em'
  8.     }  
  9. });
RAW Paste Data
Top