mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
feat(editor): move code formatting back to main level (closes #1375)
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user