mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-16 19:31:35 +08:00
style(editor): add some separators to formatting toolbar
This commit is contained in:
parent
87d28c8c2f
commit
383408e884
@ -122,7 +122,7 @@ function buildClassicToolbar(multilineToolbar: boolean) {
|
|||||||
"italic",
|
"italic",
|
||||||
{
|
{
|
||||||
...TEXT_FORMATTING_GROUP,
|
...TEXT_FORMATTING_GROUP,
|
||||||
items: ["underline", "strikethrough", "superscript", "subscript", "code", "kbd"]
|
items: ["underline", "strikethrough", "|", "superscript", "subscript", "|", "code", "kbd"]
|
||||||
},
|
},
|
||||||
"|",
|
"|",
|
||||||
"fontColor",
|
"fontColor",
|
||||||
@ -165,10 +165,12 @@ function buildFloatingToolbar() {
|
|||||||
"underline",
|
"underline",
|
||||||
{
|
{
|
||||||
...TEXT_FORMATTING_GROUP,
|
...TEXT_FORMATTING_GROUP,
|
||||||
items: [ "strikethrough", "kbd", "superscript", "subscript" ]
|
items: [ "strikethrough", "|", "superscript", "subscript", "|", "kbd" ]
|
||||||
},
|
},
|
||||||
|
"|",
|
||||||
"fontColor",
|
"fontColor",
|
||||||
"fontBackgroundColor",
|
"fontBackgroundColor",
|
||||||
|
"|",
|
||||||
"code",
|
"code",
|
||||||
"link",
|
"link",
|
||||||
"removeFormat",
|
"removeFormat",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user