mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-19 10:15:22 +08:00
feat(editor): add support for marking keyboard shortcuts
This commit is contained in:
parent
bb8325cf8d
commit
bec7a526ad
4
libraries/ckeditor/ckeditor.js
vendored
4
libraries/ckeditor/ckeditor.js
vendored
File diff suppressed because one or more lines are too long
2
libraries/ckeditor/ckeditor.js.map
vendored
2
libraries/ckeditor/ckeditor.js.map
vendored
File diff suppressed because one or more lines are too long
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user