Skip to content

Commit

Permalink
upd for empty span
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-pi committed Jan 6, 2016
1 parent b853ef5 commit b43ab49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/script/editor/ckeditor/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ CKEDITOR.editorConfig = function( config ) {
// Allow all div classes (from theme and for Boostrap and FontAwesome), allow empty <i>
config.extraAllowedContent = 'div(*)[*]{*}; a[!href]; span(*)[*]{*};table(*)[*]{*}; p(*)[*]{*}; li(*)[*]{*}; ul(*)[*]{*}';
CKEDITOR.dtd.$removeEmpty.i = 0;
CKEDITOR.dtd.$removeEmpty['span'] = 0;

// Simplify the dialog windows.
config.removeDialogTabs = 'image:advanced;link:advanced';
Expand Down

0 comments on commit b43ab49

Please sign in to comment.