obsidian-advanced-slides icon indicating copy to clipboard operation
obsidian-advanced-slides copied to clipboard

Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document.

Open airtonix opened this issue 3 years ago • 7 comments

image

Not sure what I'm supposed to do?

airtonix avatar Aug 01 '22 07:08 airtonix

Likewise, having issues opening excalidraw image in advanced slides. code matches https://mszturc.github.io/obsidian-advanced-slides/extend-syntax/excalidraw/

Output is as attached image. Screen Shot 2022-08-01 at 19 47 42

Obsidian Version 0.15.9 Advanced Slides Version 1.15.0

TimothyGutierrez avatar Aug 01 '22 10:08 TimothyGutierrez

@TimothyGutierrez sorry you're issue is different. this is about the preview within Obsidian.

How did you get url? where is this documented

airtonix avatar Aug 01 '22 11:08 airtonix

@TimothyGutierrez sorry you're issue is different. this is about the preview within Obsidian.

How did you get url? where is this documented

The preview within Obsidian in Advanced Slides is the "open in browser" button on top of slideshow preview. The button looks like a monitor. As for where this is documented, that is a good question. I cannot find it now. Perhaps I saw it in a video demonstration or I just pressed the button.

TimothyGutierrez avatar Aug 01 '22 11:08 TimothyGutierrez

yep, looks like the theme i had enabled was hiding most of the controls.

switched to Minimal and "things" are more obvious now.

Still don't know why I'm getting the yellow band of death ☝🏻

airtonix avatar Aug 01 '22 12:08 airtonix

@TimothyGutierrez sorry you're issue is different. this is about the preview within Obsidian.

You are correct @airtonix. Apologies for hijacking your thread. I have opened a different thread to address my issue.

TimothyGutierrez avatar Aug 01 '22 15:08 TimothyGutierrez

@airtonix: Please have a look at the documentation: https://mszturc.github.io/obsidian-advanced-slides/extend-syntax/excalidraw/

MSzturc avatar Aug 01 '22 17:08 MSzturc

@MSzturc Might I suggest that the yellow banner of death above change to

For ExcaliDraw images to be displayed in Presentations, you will need to enable the following in the Excalidraw Plugin Settings:

  • Auto-Export SVG
  • Auto-Export PNG

I can imagine it would perhaps result in:

  • more users not removing the plugin and you never hearing from them.
  • Me (or people like me) never creating a issue ticket like this again.

just some thoughts.

airtonix avatar Aug 02 '22 14:08 airtonix

There is no good way to solve this problem since the yellow banner is part of an excalidraw markdown itself.

MSzturc avatar Aug 18 '22 11:08 MSzturc

I also had this error message. In my case, the solution was to simply add ".excalidraw" as extension to the diagram note. As soon as I remove it, the error comes again. 🤷

simonmeggle avatar Nov 11 '23 20:11 simonmeggle

Simply install excalidraw plugin. https://youtu.be/QKnQgSjJVuc?si=tAGoIgunp9XjyFkt&t=425

This message

==⚠  Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠==

usually happens when one opens existing vault for the first time.

Seems like community plugins are installed per vault, or something ??? 🤷‍♂️ Dunno. Installing the plugin seems to help and it makes sense to me that obviously it will not work in the plugin absence.

sdzialowski-godaddy avatar Nov 21 '23 15:11 sdzialowski-godaddy

@sd-godaddy That does not make sense to me at all. Users getting this error have already installed the excalidraw plugin and they expect the drawing to appear. (At least me)

usually happens when one opens existing vault for the first time.

I open my vault every day.

Installing the plugin seems to help

So, you really had the error and could solve it just by installing the plugin?

simonmeggle avatar Nov 21 '23 16:11 simonmeggle

I found a way to fix the issue!

  1. Create a new Excalidraw drawing
  2. Open more options ( ⋮ ), then click Open as Markdown.
  3. Go back to the drawing where you're getting the Switch to Excalidraw view error.
  4. Copy all of the markdown text except for the warning message.
  5. Paste the markdown text into the new Excalidraw document.
  6. Open more options, then click Open as Excalidraw Drawing.

Hope that helps!

BlueClaypot avatar Mar 05 '24 20:03 BlueClaypot

I could not find the option Open as Excalidraw Drawing as I tried to add tags to the tags property in the frontmatter. After I added tags using # below the message ==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document ⚠== OR adding tags BEFORE [excalidraw] tag, I could find the Open as Excalidraw Drawing option at the very top of More Options ⋮.

lightbluepoppy avatar Mar 08 '24 16:03 lightbluepoppy

@sdzialowski-godaddy "Seems like community plugins are installed per vault, or something ??? 🤷‍♂️ Dunno."

Yes, plugin setup is vault-specific, but the reason this could happen even in a single vault is that plugin setup isn't necessarily synced between Obsidian instances. I just encountered the issue because a drawing from my phone wasn't showing on PC. As you noted, installing and enabling Excalidraw fixed it.

mahemoff avatar Mar 11 '24 10:03 mahemoff