diff --git a/www/script/editor/ckeditor/config.js b/www/script/editor/ckeditor/config.js index f7ae15047c..17645ccec3 100644 --- a/www/script/editor/ckeditor/config.js +++ b/www/script/editor/ckeditor/config.js @@ -34,7 +34,7 @@ CKEDITOR.editorConfig = function( config ) { config.format_tags = 'p;h1;h2;h3;pre'; // Allow all div classes (from theme and for Boostrap and FontAwesome), allow empty - config.extraAllowedContent = 'div(*)[*]{*}; a[!href]; span(*)[*]{*};table(*)[*]{*}; p(*)[*]{*}; li(*)[*]{*}; ul(*)[*]{*}'; + config.extraAllowedContent = 'div(*)[*]{*}; a[!href]; span(*)[*]{*};table(*)[*]{*}; p(*)[*]{*}; li(*)[*]{*}; ul(*)[*]{*}; img(*)[*]{*}'; CKEDITOR.dtd.$removeEmpty.i = 0; CKEDITOR.dtd.$removeEmpty.span = 0;