From 1f9aa212715768cb8921b96c79aa56542b383d52 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 13 Nov 2023 09:53:28 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/9640 --- CHANGELOG.md | 1 + src/index.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 294d253..ffdb782 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/index.ts b/src/index.ts index 0b4c913..bf83a1c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 = `