fix hover preview, bump excalidraw to 0.18.0-24

This commit is contained in:
zsviczian
2025-06-23 22:13:13 +02:00
parent 32d0301366
commit 400cffcd01
2 changed files with 3 additions and 2 deletions

View File

@@ -23,7 +23,7 @@
"license": "MIT",
"dependencies": {
"@popperjs/core": "^2.11.8",
"@zsviczian/excalidraw": "0.18.0-23",
"@zsviczian/excalidraw": "0.18.0-24",
"chroma-js": "^2.4.2",
"clsx": "^2.0.0",
"@zsviczian/colormaster": "^1.2.2",

View File

@@ -3822,7 +3822,8 @@ export default class ExcalidrawView extends TextFileView implements HoverParent{
event: this.lastMouseEvent,
source: VIEW_TYPE_EXCALIDRAW,
hoverParent: this,
targetEl: this.hoverPreviewTarget, //null //0.15.0 hover editor!!
//https://discord.com/channels/686053708261228577/989603365606531104/1386783538795249715
//targetEl: this.hoverPreviewTarget, //null //0.15.0 hover editor!!
linktext: this.plugin.hover.linkText,
sourcePath: this.plugin.hover.sourcePath,
});