Tiny Tool bar

This commit is contained in:
Fred Tempez 2023-11-08 18:45:03 +01:00
parent 92d0618907
commit 28927ad747
1 changed files with 16 additions and 13 deletions

View File

@ -32,28 +32,31 @@ 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
toolbar: [ // Contenu de la barre d'outils
"fontselect fontsizeselect formatselect | bold italic strikethrough forecolor backcolor", toolbar: [
"link image ImgPen media | alignleft aligncenter alignright alignjustify | " + "undo redo | fontsizeselect | h1 h2 h3 | alignleft aligncenter alignright alignjustify | bold forecolor backcolor| bullist numlist | link image media | outdent indent removeformat | fullscreen",
"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",
theme: "silver", theme: "silver",