File tree 4 files changed +606
-0
lines changed
4 files changed +606
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## 0.8.8 2023-10
4
4
5
+ * [ Export ` Constants ` to plugin] ( https://github.com/siyuan-note/siyuan/issues/9555 )
5
6
* [ Add plugin ` app.appId ` ] ( https://github.com/siyuan-note/siyuan/issues/9538 )
6
7
* [ Add plugin event bus ` switch-protyle ` ] ( https://github.com/siyuan-note/siyuan/issues/9454 )
7
8
Original file line number Diff line number Diff line change @@ -77,6 +77,39 @@ export interface Global {
77
77
Lute : Lute ;
78
78
}
79
79
80
+ interface IKeymapItem {
81
+ default : string ,
82
+ custom : string
83
+ }
84
+
85
+ export interface IKeymap {
86
+ plugin : {
87
+ [ key : string ] : {
88
+ [ key : string ] : IKeymapItem
89
+ }
90
+ }
91
+ general : {
92
+ [ key : string ] : IKeymapItem
93
+ }
94
+ editor : {
95
+ general : {
96
+ [ key : string ] : IKeymapItem
97
+ }
98
+ insert : {
99
+ [ key : string ] : IKeymapItem
100
+ }
101
+ heading : {
102
+ [ key : string ] : IKeymapItem
103
+ }
104
+ list : {
105
+ [ key : string ] : IKeymapItem
106
+ }
107
+ table : {
108
+ [ key : string ] : IKeymapItem
109
+ }
110
+ }
111
+ }
112
+
80
113
export interface IEventBusMap {
81
114
"click-blockicon" : {
82
115
menu : EventMenu ,
You can’t perform that action at this time.
0 commit comments