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:
parent
f49f92adf3
commit
6b637e9d27
@ -1530,11 +1530,19 @@ function create_inv_editor (id, focus) {
|
|||||||
id='inv_message_body';
|
id='inv_message_body';
|
||||||
|
|
||||||
if (!editor_init) {
|
if (!editor_init) {
|
||||||
CKEDITOR.replace( id );
|
CKEDITOR.replace(id, {
|
||||||
|
fullPage: true,
|
||||||
|
allowedContent: true
|
||||||
|
});
|
||||||
|
|
||||||
editor_init = true;
|
editor_init = true;
|
||||||
}else{
|
}
|
||||||
CKEDITOR.replace(id);
|
else{
|
||||||
}
|
CKEDITOR.replace(id, {
|
||||||
|
fullPage: true,
|
||||||
|
allowedContent: true
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function mailSourceMesageChange(what) {
|
function mailSourceMesageChange(what) {
|
||||||
|
@ -93,6 +93,9 @@ CKEDITOR.editorConfig = function (config) {
|
|||||||
};
|
};
|
||||||
config.disallowedContent = 'h1, h2, h3, h4, h5, h6';
|
config.disallowedContent = 'h1, h2, h3, h4, h5, h6';
|
||||||
|
|
||||||
|
// Full page mode (allow html, body...)
|
||||||
|
//config.fullPage = true;
|
||||||
|
|
||||||
//DEV TOOLS
|
//DEV TOOLS
|
||||||
//config.extraPlugins = 'devtools';
|
//config.extraPlugins = 'devtools';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user