logseq-plugin-excalidraw icon indicating copy to clipboard operation
logseq-plugin-excalidraw copied to clipboard

Excalidraw editor blank screen on windows

Open bn-c opened this issue 1 year ago • 3 comments

Search first

  • [x] I searched and no similar issues were found

What Happened?

As the title said, I am unable to edit my excalidraw drawings.

Reproduce the Bug

  1. Create a drawing with /draw
  2. Try to edit it

Screenshots

Image After i click the edit button, i get an empty screen and the editor didn't load Image

Environment Information

Windows 10 Pro 22H2 Logseq v0.10.9 Excalidraw plugin v1.5.1

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • [ ] I'm willing to submit a PR (Thank you!)

bn-c avatar Jan 22 '25 02:01 bn-c

I had this error, but I was able to fix it by realizing I had a merge conflict in some of my Excalidraw data. I got an error in the console saying "<<<<<<< HEAD" wasn't valid JSON. You may look into having invalid syntax/data in the pages that store your Excalidraw data

JoshGJPI avatar Feb 04 '25 20:02 JoshGJPI

@JoshGJPI Thank you for the feedback, I'll take a closer look.

I have been noticing excalidraw updating the save file everytime it opens, even when there isn't any material change to the drawing. And it has been causing some git merge issues. How did you go about managing conflict, besides manually resolving them?

bn-c avatar Feb 14 '25 14:02 bn-c

@bn-c This was the first time I've had a merge conflict. I had to resolve this one manually. I've set my repo to resolve merges using ort-mode by default, and that's significantly reduced the number of conflicts we've gotten. I have a team of 4 using LogSeq daily for our workflow.

This plugin has been a great help for generating and sharing sketches. Thank you @haydenull!

JoshGJPI avatar Feb 14 '25 15:02 JoshGJPI