mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-01 04:32:26 +08:00
feat(editor): move code formatting back to main level (closes #1375)
This commit is contained in:
parent
598413b56d
commit
6acb490df4
@ -122,7 +122,7 @@ export function buildClassicToolbar(multilineToolbar: boolean) {
|
||||
"italic",
|
||||
{
|
||||
...TEXT_FORMATTING_GROUP,
|
||||
items: ["underline", "strikethrough", "|", "superscript", "subscript", "|", "code", "kbd"]
|
||||
items: ["underline", "strikethrough", "|", "superscript", "subscript", "|", "kbd"]
|
||||
},
|
||||
"|",
|
||||
"fontColor",
|
||||
@ -136,7 +136,10 @@ export function buildClassicToolbar(multilineToolbar: boolean) {
|
||||
"blockQuote",
|
||||
"admonition",
|
||||
"insertTable",
|
||||
"|",
|
||||
"code",
|
||||
"codeBlock",
|
||||
"|",
|
||||
"footnote",
|
||||
{
|
||||
label: "Insert",
|
||||
|
Loading…
x
Reference in New Issue
Block a user