diff --git a/www/script/editor/ckeditor/config.js b/www/script/editor/ckeditor/config.js index 8e4f47f598..f7ae15047c 100644 --- a/www/script/editor/ckeditor/config.js +++ b/www/script/editor/ckeditor/config.js @@ -36,7 +36,7 @@ CKEDITOR.editorConfig = function( config ) { // Allow all div classes (from theme and for Boostrap and FontAwesome), allow empty config.extraAllowedContent = 'div(*)[*]{*}; a[!href]; span(*)[*]{*};table(*)[*]{*}; p(*)[*]{*}; li(*)[*]{*}; ul(*)[*]{*}'; CKEDITOR.dtd.$removeEmpty.i = 0; - CKEDITOR.dtd.$removeEmpty['span'] = 0; + CKEDITOR.dtd.$removeEmpty.span = 0; // Simplify the dialog windows. config.removeDialogTabs = 'image:advanced;link:advanced';