From 37fe9e2888add38a8b44d184e9c089253490627c Mon Sep 17 00:00:00 2001 From: Marc Date: Wed, 6 Jan 2016 13:50:54 +0100 Subject: [PATCH] forgot img --- www/script/editor/ckeditor/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;