TinyMCE modules dépréciés

This commit is contained in:
Fred Tempez 2022-11-29 10:35:03 +01:00
parent 87ee136faf
commit fca35dfa9a
1 changed files with 1 additions and 8 deletions

View File

@ -4,8 +4,6 @@
*/
console.log(getCookie("ZWII_UI"));
/**
* Quand tinyMCE est invoqué hors connexion, initialiser privateKey
*/
@ -31,7 +29,7 @@ tinymce.init({
// Langue
language: getCookie('ZWII_UI') === null ? "fr_FR" : getCookie('ZWII_UI'),
// Plugins
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",
plugins: "advlist anchor autolink autoresize autosave codemirror fullscreen hr image imagetools link lists media paste searchreplace tabfocus table template 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: {
@ -55,7 +53,6 @@ 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.
@ -100,8 +97,6 @@ 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",
@ -300,8 +295,6 @@ 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",