Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Nov 13, 2023
1 parent 3452422 commit 1f9aa21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 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.8 2023-11

* [`resize` cannot be triggered after dragging to unpin the dock](https://github.com/siyuan-note/siyuan/issues/9640)

## 0.2.7 2023-10-31

Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ export default class PluginSample extends Plugin {
text: "This is my custom dock"
},
type: DOCK_TYPE,
resize() {
console.log(DOCK_TYPE + " resize")
},
init() {
this.element.innerHTML = `<div class="fn__flex-1 fn__flex-column">
<div class="block__icons">
Expand Down

0 comments on commit 1f9aa21

Please sign in to comment.