style(editor): add some separators to formatting toolbar

This commit is contained in:
Elian Doran 2025-03-12 18:06:34 +02:00
parent 87d28c8c2f
commit 383408e884
No known key found for this signature in database

View File

@ -122,7 +122,7 @@ function buildClassicToolbar(multilineToolbar: boolean) {
"italic",
{
...TEXT_FORMATTING_GROUP,
items: ["underline", "strikethrough", "superscript", "subscript", "code", "kbd"]
items: ["underline", "strikethrough", "|", "superscript", "subscript", "|", "code", "kbd"]
},
"|",
"fontColor",
@ -165,10 +165,12 @@ function buildFloatingToolbar() {
"underline",
{
...TEXT_FORMATTING_GROUP,
items: [ "strikethrough", "kbd", "superscript", "subscript" ]
items: [ "strikethrough", "|", "superscript", "subscript", "|", "kbd" ]
},
"|",
"fontColor",
"fontBackgroundColor",
"|",
"code",
"link",
"removeFormat",