diff --git a/admin/survey/script/invitations.js b/admin/survey/script/invitations.js index e84fccc69..19d795325 100644 --- a/admin/survey/script/invitations.js +++ b/admin/survey/script/invitations.js @@ -1530,11 +1530,19 @@ function create_inv_editor (id, focus) { id='inv_message_body'; if (!editor_init) { - CKEDITOR.replace( id ); + CKEDITOR.replace(id, { + fullPage: true, + allowedContent: true + }); + editor_init = true; - }else{ - CKEDITOR.replace(id); - } + } + else{ + CKEDITOR.replace(id, { + fullPage: true, + allowedContent: true + }); + } } function mailSourceMesageChange(what) { diff --git a/editors/ckeditor_4_4/config.js b/editors/ckeditor_4_4/config.js index 57e36727c..6465cc752 100644 --- a/editors/ckeditor_4_4/config.js +++ b/editors/ckeditor_4_4/config.js @@ -93,6 +93,9 @@ CKEDITOR.editorConfig = function (config) { }; config.disallowedContent = 'h1, h2, h3, h4, h5, h6'; + // Full page mode (allow html, body...) + //config.fullPage = true; + //DEV TOOLS //config.extraPlugins = 'devtools';