Tiny Tool bar

This commit is contained in:
Fred Tempez 2023-11-08 18:45:03 +01:00
parent 92d0618907
commit 28927ad747

View File

@ -32,27 +32,30 @@ tinymce.init({
// Contenu du menu // Contenu du menu
menu: { menu: {
edit: { edit: {
title: 'Edit', title: "Edit",
items: 'undo redo | selectall searchreplace | cut copy paste pastetext | style' items: "undo redo | selectall searchreplace | cut copy paste pastetext"
}, },
insert: { insert: {
title: 'Insert', title: "Insert",
items: 'template | nonbreaking hr charmap anchor | abbr insertdatetime ' items: "template | nonbreaking hr charmap anchor "
}, },
format: { format: {
title: 'Format', title: "Format",
items: 'underline strikethrough superscript subscript | forecolor backcolor | formats | removeformat' items: " bold underline strikethrough superscript subscript | | formats | removeformat"
},
tools: {
title: "Tools",
items: ""
}, },
table: { table: {
title: 'Table', title: "Table",
items: 'inserttable tableprops deletetable | cell row column' items: "inserttable tableprops deletetable | cell row column"
}, },
}, },
// Contenu de la barre d'outils // Contenu de la barre d'outils
// Contenu de la barre d'outils
toolbar: [ toolbar: [
"fontselect fontsizeselect formatselect | bold italic strikethrough forecolor backcolor", "undo redo | fontsizeselect | h1 h2 h3 | alignleft aligncenter alignright alignjustify | bold forecolor backcolor| bullist numlist | link image media | outdent indent removeformat | fullscreen",
"link image ImgPen media | alignleft aligncenter alignright alignjustify | " +
"numlist bullist | outdent indent removeformat | fullscreen"
], ],
toolbar_sticky: true, toolbar_sticky: true,
fontsize_formats: "8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 30pt 36pt 48pt 60pt 72pt 96pt", fontsize_formats: "8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 30pt 36pt 48pt 60pt 72pt 96pt",