Completamento aggiunta toolbar full per ckeditor
This commit is contained in:
parent
8a608ed9fd
commit
e917baa371
|
@ -91,17 +91,15 @@ function initCKEditor(input) {
|
||||||
instance.destroy();
|
instance.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (input.hasAttribute('use_full_ckeditor')) {
|
|
||||||
globals.ckeditorToolbar = globals.ckeditorToolbar_Full;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Avvio di CKEditor
|
// Avvio di CKEditor
|
||||||
CKEDITOR.replace(name, {
|
CKEDITOR.replace(name, {
|
||||||
toolbar: globals.ckeditorToolbar,
|
toolbar: (input.hasAttribute('use_full_ckeditor')) ? globals.ckeditorToolbar_Full : globals.ckeditorToolbar,
|
||||||
language: globals.locale,
|
language: globals.locale,
|
||||||
scayt_autoStartup: true,
|
scayt_autoStartup: true,
|
||||||
scayt_sLang: globals.full_locale,
|
scayt_sLang: globals.full_locale,
|
||||||
disableNativeSpellChecker: false,
|
disableNativeSpellChecker: false,
|
||||||
|
fullPage: (input.hasAttribute('use_full_ckeditor')) ? true : false,
|
||||||
|
allowedContent: (input.hasAttribute('use_full_ckeditor')) ? true : false,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Gestione di eventi noti
|
// Gestione di eventi noti
|
||||||
|
|
Loading…
Reference in New Issue