mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
♻️
This commit is contained in:
parent
6d84d60a3d
commit
a9200fa02e
4 changed files with 5 additions and 5 deletions
|
|
@ -39,7 +39,7 @@ export const initConfigSearch = (element: HTMLElement) => {
|
|||
|
||||
// 导出
|
||||
getLang(["paragraphBeginningSpace", "md4", "export", "export1", "export2", "export5", "export11",
|
||||
"export13", "export14", "export15", "export19", "export20", "blockRef", "blockEmbed"]),
|
||||
"export13", "export14", "export15", "export19", "export20", "ref", "blockEmbed"]),
|
||||
|
||||
// 外观
|
||||
getLang(["language", "language1", "appearance", "appearance1", "appearance2",
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ export abstract class Constants {
|
|||
insert: {
|
||||
font: {default: "⌥⌘X", custom: "⌥⌘X"},
|
||||
lastUsed: {default: "⌥X", custom: "⌥X"},
|
||||
blockRef: {default: "⌥[", custom: "⌥["},
|
||||
ref: {default: "⌥[", custom: "⌥["},
|
||||
kbd: {default: "⌘'", custom: "⌘'"},
|
||||
sup: {default: "⌘H", custom: "⌘H"},
|
||||
sub: {default: "⌘J", custom: "⌘J"},
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ const renderSlashMenu = (protyle: IProtyle, toolbarElement: Element) => {
|
|||
</div>
|
||||
<div class="keyboard__slash-block">
|
||||
${getSlashItem(Constants.ZWSP + 2, "iconImage", window.siyuan.languages.assets)}
|
||||
${getSlashItem("((", "iconRef", window.siyuan.languages.blockRef, "true")}
|
||||
${getSlashItem("((", "iconRef", window.siyuan.languages.ref, "true")}
|
||||
</div>
|
||||
<div class="keyboard__slash-block">
|
||||
${getSlashItem("{{", "iconSQL", window.siyuan.languages.blockEmbed, "true")}
|
||||
|
|
|
|||
|
|
@ -145,8 +145,8 @@ export class Options {
|
|||
private mergeToolbar(toolbar: Array<string | IMenuItem>) {
|
||||
const toolbarItem: IMenuItem [] = [{
|
||||
name: "block-ref",
|
||||
hotkey: window.siyuan.config.keymap.editor.insert.blockRef.custom,
|
||||
lang: "blockRef",
|
||||
hotkey: window.siyuan.config.keymap.editor.insert.ref.custom,
|
||||
lang: "ref",
|
||||
icon: "iconRef",
|
||||
tipPosition: "ne",
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue