This commit is contained in:
zsviczian
2023-12-23 15:28:54 +01:00
parent 4e2d8374e6
commit 3e4e741b54
3 changed files with 7 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "obsidian-excalidraw-plugin",
"name": "Excalidraw",
"version": "2.0.12",
"version": "2.0.13",
"minAppVersion": "1.1.6",
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
"author": "Zsolt Viczian",
@@ -9,4 +9,4 @@
"fundingUrl": "https://ko-fi.com/zsolt",
"helpUrl": "https://github.com/zsviczian/obsidian-excalidraw-plugin#readme",
"isDesktopOnly": false
}
}

View File

@@ -3996,7 +3996,7 @@ export default class ExcalidrawView extends TextFileView {
}
const el = els[0] as ExcalidrawImageElement;
const imageFile = this.excalidrawData.getFile(el.fileId);
if(!imageFile.isHyperLink) return null;
if(!imageFile?.isHyperLink) return null;
return {imageEl: el, embeddedFile: imageFile};
}

View File

@@ -17,6 +17,10 @@ I develop this plugin as a hobby, spending my free time doing this. If you find
<div class="ex-coffee-div"><a href="https://ko-fi.com/zsolt"><img src="https://cdn.ko-fi.com/cdn/kofi3.png?v=3" height=45></a></div>
`,
"2.0.13":`
## Fixed
- Excalidraw crashes if you paste an image and right-click on canvas immediately after pasting.
`,
"2.0.12":`
## Fixed
- Stencil library not working [#1516](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/1516), [#1517](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/1517)