zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.03k stars 216 forks source link

BUG: Broken Mermaid Rendering. Wrong order #1628

Open zach-is-my-name opened 6 months ago

zach-is-my-name commented 6 months ago

I've used a fresh vault as well as my own: FRESH VAULT: SYSTEM INFO: Obsidian version: v1.5.8 Installer version: v1.4.13 Operating system: #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2 6.5.0-21-generic Login status: logged in Catalyst license: none Insider build toggle: off Live preview: on Base theme: adapt to system Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 1 Plugins enabled: 1 1: Excalidraw v2.0.23

REAL TARGET VAULT: SYSTEM INFO: Obsidian version: v1.5.8 Installer version: v1.4.13 Operating system: #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2 6.5.0-21-generic Login status: logged in Catalyst license: none Insider build toggle: off Live preview: on Base theme: light Community theme: Minimal v7.5.2 Snippets enabled: 1 Restricted mode: off Plugins installed: 8 Plugins enabled: 6 1: Vimrc Support v0.9.0 2: Hider v1.3.1 3: Style Settings v1.0.7 4: Settings Search v1.3.10 5: Minimal Theme Settings v7.3.1 6: Excalidraw v2.0.23

Describe the bug Rendering out of order (left to right). See screenshot

To Reproduce Self-evident from screenshot

Expected behavior Renders mermaid documents from left to right

Screenshot from 2024-03-07 12-31-51

ZemLeroyKa commented 6 months ago

My specs that seems important to the issue:

Obsidian version: v1.5.8 Excalidraw v2.0.22 and v2.0.23 Operating system: Windows 10 Base theme: Cybertron

Addition to the bug description:

zach-is-my-name commented 6 months ago

@ZemLeroyKa May i ask which version you managed to correctly render this with? You've cited two versions in your report

ZemLeroyKa commented 6 months ago

@ZemLeroyKa May i ask which version you managed to correctly render this with? You've cited two versions in your report

@zach-is-my-name Sorry for unclear information. In the third example I was using the original website version from https://github.com/excalidraw/excalidraw at https://excalidraw.com/

tonghejiao commented 4 months ago

@ZemLeroyKa On the website, this order is normal, but it is incorrect in Obsidian. I have encountered the same problem.