File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## 0.2.7 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 @@ -11,7 +11,10 @@ import {
11
11
IModel ,
12
12
Setting ,
13
13
fetchPost ,
14
- Protyle , openWindow , IOperation
14
+ Protyle ,
15
+ openWindow ,
16
+ IOperation ,
17
+ Constants
15
18
} from "siyuan" ;
16
19
import "./index.scss" ;
17
20
@@ -251,7 +254,7 @@ export default class PluginSample extends Plugin {
251
254
252
255
private showDialog ( ) {
253
256
const dialog = new Dialog ( {
254
- title : "Info" ,
257
+ title : `SiYuan ${ Constants . SIYUAN_VERSION } ` ,
255
258
content : `<div class="b3-dialog__content">
256
259
<div>appId:</div>
257
260
<div class="fn__hr"></div>
You can’t perform that action at this time.
0 commit comments