Compare commits

..

No commits in common. "main" and "v0.5.0" have entirely different histories.
main ... v0.5.0

3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{
"name": "siyuan-jsdraw-plugin",
"version": "0.5.2",
"version": "0.5.0",
"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.31.1",
"js-draw": "^1.31.1",
"@js-draw/material-icons": "^1.29.0",
"js-draw": "^1.29.0",
"ts-serializable": "^4.2.0"
}
}

View file

@ -2,7 +2,7 @@
"name": "siyuan-jsdraw-plugin",
"author": "massivebox",
"url": "https://git.massive.box/massivebox/siyuan-jsdraw-plugin",
"version": "0.5.2",
"version": "0.5.0",
"minAppVersion": "3.0.12",
"backends": [
"windows",

View file

@ -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), false, false);
protyle.insert(getMarkdownBlock(fileID, syncID), true, false);
(await EditorManager.create(fileID, this)).open(this);
}
}];