Editor za gradnjo emaila pri pošiljanju vabil ima dovoljeno vso html kodo (da se lahko zgradi mail s copy paste iz html datoteke) - na željo Gorenja ampak na voljo vsem

This commit is contained in:
pero1203 2021-01-15 13:26:21 +01:00
parent f49f92adf3
commit 6b637e9d27
2 changed files with 15 additions and 4 deletions

View File

@ -1530,10 +1530,18 @@ 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
});
}
}

View File

@ -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';