feat(editor): add support for marking keyboard shortcuts

This commit is contained in:
Elian Doran 2025-03-12 17:58:12 +02:00
parent bb8325cf8d
commit bec7a526ad
No known key found for this signature in database
3 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -118,7 +118,7 @@ function buildClassicToolbar(multilineToolbar: boolean) {
{ {
label: "Text formatting", label: "Text formatting",
icon: "text", icon: "text",
items: ["underline", "strikethrough", "superscript", "subscript", "code"] items: ["underline", "strikethrough", "superscript", "subscript", "code", "kbd"]
}, },
"|", "|",
"fontColor", "fontColor",
@ -162,6 +162,7 @@ function buildFloatingToolbar() {
"strikethrough", "strikethrough",
"superscript", "superscript",
"subscript", "subscript",
"kbd",
"fontColor", "fontColor",
"fontBackgroundColor", "fontBackgroundColor",
"code", "code",