From 7cb966462151ba06bfed2a460cfca850b2b348d1 Mon Sep 17 00:00:00 2001 From: MassiveBox Date: Mon, 1 Sep 2025 21:38:25 +0200 Subject: [PATCH 1/3] Hotfix for SiYuan v3.3.0 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ae064b0..886b87b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -33,7 +33,7 @@ export default class DrawJSPlugin extends Plugin { void this.analytics.sendEvent('create'); const fileID = generateRandomString(); const syncID = generateTimeString() + '-' + generateRandomString(); - protyle.insert(getMarkdownBlock(fileID, syncID), true, false); + protyle.insert(getMarkdownBlock(fileID, syncID), false, false); (await EditorManager.create(fileID, this)).open(this); } }]; From f1393b715d9c0c356d2a4764e74bb964069a271e Mon Sep 17 00:00:00 2001 From: MassiveBox Date: Mon, 1 Sep 2025 21:49:53 +0200 Subject: [PATCH 2/3] Version bump --- package.json | 2 +- plugin.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ed2235d..fc9ef70 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "siyuan-jsdraw-plugin", - "version": "0.5.0", + "version": "0.5.1", "type": "module", "description": "Include a whiteboard for freehand drawing anywhere in your documents.", "repository": "https://git.massive.box/massivebox/siyuan-jsdraw-plugin", diff --git a/plugin.json b/plugin.json index 959cd69..77ec8e9 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "siyuan-jsdraw-plugin", "author": "massivebox", "url": "https://git.massive.box/massivebox/siyuan-jsdraw-plugin", - "version": "0.5.0", + "version": "0.5.1", "minAppVersion": "3.0.12", "backends": [ "windows", From d8cb171142780b8d519ac60e887860e90d57f146 Mon Sep 17 00:00:00 2001 From: MassiveBox Date: Sat, 6 Sep 2025 17:17:10 +0200 Subject: [PATCH 3/3] Version bump (incl. dependency) --- package.json | 6 +++--- plugin.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index fc9ef70..8c62cd5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "siyuan-jsdraw-plugin", - "version": "0.5.1", + "version": "0.5.2", "type": "module", "description": "Include a whiteboard for freehand drawing anywhere in your documents.", "repository": "https://git.massive.box/massivebox/siyuan-jsdraw-plugin", @@ -35,8 +35,8 @@ "vite-plugin-zip-pack": "^1.0.5" }, "dependencies": { - "@js-draw/material-icons": "^1.29.0", - "js-draw": "^1.29.0", + "@js-draw/material-icons": "^1.31.1", + "js-draw": "^1.31.1", "ts-serializable": "^4.2.0" } } diff --git a/plugin.json b/plugin.json index 77ec8e9..65997ac 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "siyuan-jsdraw-plugin", "author": "massivebox", "url": "https://git.massive.box/massivebox/siyuan-jsdraw-plugin", - "version": "0.5.1", + "version": "0.5.2", "minAppVersion": "3.0.12", "backends": [ "windows",