-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
@yuvve recorded the following issue for Excalidraw: zsviczian/obsidian-excalidraw-plugin#124
I was able to reproduce the error. I looked at your source code. Based on my quick scan I would try adding
let view = this.app.workspace.getActiveViewOfType(MarkdownView);
if (!view) return;
to here
I am not really sure if this will solve the problem, but it seems you make modifications to the document object even if the view is not a markdown view: see here
yuvve
Metadata
Metadata
Assignees
Labels
No labels