mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-09 09:42:28 +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",
|
"italic",
|
||||||
{
|
{
|
||||||
...TEXT_FORMATTING_GROUP,
|
...TEXT_FORMATTING_GROUP,
|
||||||
items: ["underline", "strikethrough", "|", "superscript", "subscript", "|", "code", "kbd"]
|
items: ["underline", "strikethrough", "|", "superscript", "subscript", "|", "kbd"]
|
||||||
},
|
},
|
||||||
"|",
|
"|",
|
||||||
"fontColor",
|
"fontColor",
|
||||||
@ -136,7 +136,10 @@ export function buildClassicToolbar(multilineToolbar: boolean) {
|
|||||||
"blockQuote",
|
"blockQuote",
|
||||||
"admonition",
|
"admonition",
|
||||||
"insertTable",
|
"insertTable",
|
||||||
|
"|",
|
||||||
|
"code",
|
||||||
"codeBlock",
|
"codeBlock",
|
||||||
|
"|",
|
||||||
"footnote",
|
"footnote",
|
||||||
{
|
{
|
||||||
label: "Insert",
|
label: "Insert",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user