forked from ZwiiCMS-Team/ZwiiCMS
parent
1ee738ce64
commit
e254b4da22
9
core/vendor/tinymce/init.js
vendored
9
core/vendor/tinymce/init.js
vendored
@ -4,6 +4,8 @@
|
||||
|
||||
*/
|
||||
|
||||
console.log(getCookie("ZWII_UI"));
|
||||
|
||||
/**
|
||||
* Quand tinyMCE est invoqué hors connexion, initialiser privateKey
|
||||
*/
|
||||
@ -29,7 +31,7 @@ tinymce.init({
|
||||
// Langue
|
||||
language: getCookie('ZWII_UI') === null ? "fr_FR" : getCookie('ZWII_UI'),
|
||||
// Plugins
|
||||
plugins: "advlist anchor autolink autoresize autosave codemirror fullscreen hr image imagetools link lists media paste searchreplace tabfocus table template visualblocks nonbreaking emoticons charmap",
|
||||
plugins: "advlist anchor autolink autoresize autosave codemirror colorpicker fullscreen hr image imagetools link lists media paste searchreplace tabfocus table template textcolor visualblocks nonbreaking emoticons charmap",
|
||||
// Contenu de la barre d'outils
|
||||
toolbar: "bold italic underline strikethrough formatgroup | h1 h2 h3 paragraphgroup | link image insertgroup| visualblocks code fullscreen",
|
||||
toolbar_groups: {
|
||||
@ -53,6 +55,7 @@ tinymce.init({
|
||||
"8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 30pt 36pt 48pt 60pt 72pt 96pt",
|
||||
theme: "silver",
|
||||
max_height: 500,
|
||||
contextmenu: false,
|
||||
// CodeMirror
|
||||
codemirror: {
|
||||
indentOnInit: true, // Whether or not to indent code on init.
|
||||
@ -97,6 +100,8 @@ tinymce.init({
|
||||
image_title: true,
|
||||
// Pages internes
|
||||
link_list: baseUrl + "core/vendor/tinymce/links.php",
|
||||
// Contenu du menu contextuel
|
||||
contextmenu: "selectall searchreplace | hr | media image link anchor nonbreaking | insertable cell row column deletetable",
|
||||
// Fichiers CSS à intégrer à l'éditeur
|
||||
content_css: [
|
||||
baseUrl + "core/layout/common.css",
|
||||
@ -295,6 +300,8 @@ tinymce.init({
|
||||
image_title: true,
|
||||
// Pages internes
|
||||
link_list: baseUrl + "core/vendor/tinymce/links.php",
|
||||
// Contenu du menu contextuel
|
||||
contextmenu: "cut copy paste pastetext | selectall searchreplace ",
|
||||
// Fichiers CSS à intégrer à l'éditeur
|
||||
content_css: [
|
||||
baseUrl + "core/layout/common.css",
|
||||
|
Loading…
Reference in New Issue
Block a user