TinyMCE barre d'outils

This commit is contained in:
Fred Tempez 2022-11-07 10:36:03 +01:00
parent 2a9f898c55
commit 58c0a634d6

View File

@ -31,22 +31,22 @@ tinymce.init({
// Plugins // Plugins
plugins: "advlist anchor autolink autoresize autosave codemirror colorpicker fullscreen hr image imagetools link lists media paste searchreplace stickytoolbar tabfocus table template textcolor visualblocks nonbreaking emoticons charmap", plugins: "advlist anchor autolink autoresize autosave codemirror colorpicker fullscreen hr image imagetools link lists media paste searchreplace stickytoolbar tabfocus table template textcolor visualblocks nonbreaking emoticons charmap",
// Contenu de la barre d'outils // Contenu de la barre d'outils
toolbar: "formatgroup paragraphgroup insertgroup | visualblocks fullscreen code", toolbar: "bold italic underline strikethrough formatgroup | h1 h2 h3 paragraphgroup | link image insertgroup| visualblocks fullscreen code",
toolbar_groups: { toolbar_groups: {
formatgroup: { formatgroup: {
icon: 'format', icon: 'format',
tooltip: 'Format du texte', tooltip: 'Format du texte',
items: 'bold italic underline strikethrough | forecolor backcolor | superscript subscript | removeformat' items: 'forecolor backcolor | superscript subscript | removeformat'
}, },
paragraphgroup: { paragraphgroup: {
icon: 'paragraph', icon: 'paragraph',
tooltip: 'Format des paragraphes', tooltip: 'Format des paragraphes',
items: 'h1 h2 h3 | bullist numlist | alignleft aligncenter alignright alignjustify | indent outdent' items: 'bullist numlist | alignleft aligncenter alignright alignjustify | indent outdent'
}, },
insertgroup: { insertgroup: {
icon: 'plus', icon: 'plus',
tooltip: 'Insérer', tooltip: 'Insérer',
items: 'link image emoticons charmap hr table template' items: 'emoticons charmap hr table template'
} }
}, },
fontsize_formats: fontsize_formats: