mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +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",
|
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",
|
getLang(["language", "language1", "appearance", "appearance1", "appearance2",
|
||||||
|
|
|
||||||
|
|
@ -199,7 +199,7 @@ export abstract class Constants {
|
||||||
insert: {
|
insert: {
|
||||||
font: {default: "⌥⌘X", custom: "⌥⌘X"},
|
font: {default: "⌥⌘X", custom: "⌥⌘X"},
|
||||||
lastUsed: {default: "⌥X", custom: "⌥X"},
|
lastUsed: {default: "⌥X", custom: "⌥X"},
|
||||||
blockRef: {default: "⌥[", custom: "⌥["},
|
ref: {default: "⌥[", custom: "⌥["},
|
||||||
kbd: {default: "⌘'", custom: "⌘'"},
|
kbd: {default: "⌘'", custom: "⌘'"},
|
||||||
sup: {default: "⌘H", custom: "⌘H"},
|
sup: {default: "⌘H", custom: "⌘H"},
|
||||||
sub: {default: "⌘J", custom: "⌘J"},
|
sub: {default: "⌘J", custom: "⌘J"},
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ const renderSlashMenu = (protyle: IProtyle, toolbarElement: Element) => {
|
||||||
</div>
|
</div>
|
||||||
<div class="keyboard__slash-block">
|
<div class="keyboard__slash-block">
|
||||||
${getSlashItem(Constants.ZWSP + 2, "iconImage", window.siyuan.languages.assets)}
|
${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>
|
||||||
<div class="keyboard__slash-block">
|
<div class="keyboard__slash-block">
|
||||||
${getSlashItem("{{", "iconSQL", window.siyuan.languages.blockEmbed, "true")}
|
${getSlashItem("{{", "iconSQL", window.siyuan.languages.blockEmbed, "true")}
|
||||||
|
|
|
||||||
|
|
@ -145,8 +145,8 @@ export class Options {
|
||||||
private mergeToolbar(toolbar: Array<string | IMenuItem>) {
|
private mergeToolbar(toolbar: Array<string | IMenuItem>) {
|
||||||
const toolbarItem: IMenuItem [] = [{
|
const toolbarItem: IMenuItem [] = [{
|
||||||
name: "block-ref",
|
name: "block-ref",
|
||||||
hotkey: window.siyuan.config.keymap.editor.insert.blockRef.custom,
|
hotkey: window.siyuan.config.keymap.editor.insert.ref.custom,
|
||||||
lang: "blockRef",
|
lang: "ref",
|
||||||
icon: "iconRef",
|
icon: "iconRef",
|
||||||
tipPosition: "ne",
|
tipPosition: "ne",
|
||||||
}, {
|
}, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue