feat(editor): move code formatting back to main level (closes #1375)

pull/1432/head
Elian Doran 2025-03-15 02:00:42 +07:00
parent 598413b56d
commit 6acb490df4
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

@ -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",