mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-17 04:28:07 +01:00
This commit is contained in:
parent
2349b080db
commit
c0535ffb98
10 changed files with 1754 additions and 1712 deletions
9
app/src/types/index.d.ts
vendored
9
app/src/types/index.d.ts
vendored
|
|
@ -407,10 +407,11 @@ interface ICommand {
|
|||
langText?: string, // 显示的文本, 指定后不再使用 langKey 对应的 i18n 文本
|
||||
hotkey: string,
|
||||
customHotkey?: string,
|
||||
callback?: () => void
|
||||
fileTreeCallback?: (file: import("../layout/dock/Files").Files) => void
|
||||
editorCallback?: (protyle: IProtyle) => void
|
||||
dockCallback?: (element: HTMLElement) => void
|
||||
callback?: () => void // 其余回调存在时将不会触
|
||||
globalCallback?: () => void // 焦点不在应用内时执行的回调
|
||||
fileTreeCallback?: (file: import("../layout/dock/Files").Files) => void // 焦点在文档树上时执行的回调
|
||||
editorCallback?: (protyle: IProtyle) => void // 焦点在编辑器上时执行的回调
|
||||
dockCallback?: (element: HTMLElement) => void // 焦点在 dock 上时执行的回调
|
||||
}
|
||||
|
||||
interface IPluginData {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue