Meta Bind Embedding a note with Properties field breaks #327
Labels
help wanted
Extra attention is needed
upstream bug
Undesired behavior caused by a bug in Obsidian or another plugin
Please fill out these Check-boxes
This Issue Occurs on
Plugin Version
1.1.0
Describe the Issue
DISCLAIMER! Involves the external plugin Excalidraw!
When using a
meta-bind-embed
block in an Excalidraw Markdown note to embed a note that has a Properties field (even the field is empty with no properties), the Markdown reading view renders the Excalidraw embed display instead of the note's Markdown content.Embedding a note that has no Properties field produces expected behavior.
The issue probably lies between some strange interaction between the two plugins, but I'm posting the issue here because something about how Meta Bind is using
renderMarkdown
on notes with Properties is interfering with Excalidraw, and I think the issue can (maybe?) be easier fixed on the Meta Bind side.Steps to Reproduce
Problematic Embed
with a Properties field (can be empty, can have properties, makes no difference) as follows:Excalidraw: Toggle between Excalidraw and Markdown mode
. Then, anywhere in the file, use a Meta Bind Embed to embedProblematic Embed
as follows:Attached below is an optional demonstration vault I made to reproduce the bug. I recommend getting a brief look at each file in the vault to make sure I'm not trying to get you to run anything malicious. Then you'll have to install Excalidraw and Meta Bind yourself -- just a few clicks away -- since executing arbitary JavaScript in an Electron application that a stranger sent you is icky!
demonstration vault.zip
Expected Behavior
I expected Meta Bind Embeds embedding notes with properties to not oddly interfere with the Markdown reading view on an Excalidraw Markdown note.
The text was updated successfully, but these errors were encountered: