Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Oct 30, 2023
1 parent 8f4c1b7 commit 6fd39a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 0.2.7 2023-10

* [Export `Constants` to plugin](https://github.com/siyuan-note/siyuan/issues/9555)
* [Add plugin `app.appId`](https://github.com/siyuan-note/siyuan/issues/9538)
* [Add plugin event bus `switch-protyle`](https://github.com/siyuan-note/siyuan/issues/9454)

Expand Down
7 changes: 5 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import {
IModel,
Setting,
fetchPost,
Protyle, openWindow, IOperation
Protyle,
openWindow,
IOperation,
Constants
} from "siyuan";
import "./index.scss";

Expand Down Expand Up @@ -251,7 +254,7 @@ export default class PluginSample extends Plugin {

private showDialog() {
const dialog = new Dialog({
title: "Info",
title: `SiYuan ${Constants.SIYUAN_VERSION}`,
content: `<div class="b3-dialog__content">
<div>appId:</div>
<div class="fn__hr"></div>
Expand Down

0 comments on commit 6fd39a0

Please sign in to comment.