mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
This commit is contained in:
parent
cf4c5396ab
commit
eb54ebe5ac
3 changed files with 9 additions and 1 deletions
|
|
@ -366,6 +366,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {
|
|||
accelerator: window.siyuan.config.keymap.editor.general.openBy.custom + "/" + window.siyuan.languages.click,
|
||||
click() {
|
||||
checkFold(refBlockId, (zoomIn, action) => {
|
||||
action.push(Constants.CB_GET_HL);
|
||||
openFileById({
|
||||
app: protyle.app,
|
||||
id: refBlockId,
|
||||
|
|
@ -397,6 +398,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {
|
|||
accelerator: window.siyuan.config.keymap.editor.general.insertRight.custom + "/⌥" + window.siyuan.languages.click,
|
||||
click() {
|
||||
checkFold(refBlockId, (zoomIn, action) => {
|
||||
action.push(Constants.CB_GET_HL);
|
||||
openFileById({
|
||||
app: protyle.app,
|
||||
id: refBlockId,
|
||||
|
|
@ -413,6 +415,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {
|
|||
accelerator: window.siyuan.config.keymap.editor.general.insertBottom.custom + (window.siyuan.config.keymap.editor.general.insertBottom.custom ? "/" : "") + "⇧" + window.siyuan.languages.click,
|
||||
click() {
|
||||
checkFold(refBlockId, (zoomIn, action) => {
|
||||
action.push(Constants.CB_GET_HL);
|
||||
openFileById({
|
||||
app: protyle.app,
|
||||
id: refBlockId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue