zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
3.68k stars 202 forks source link

BUG: SVG File Location, Converting a Template Note, Having the drawing match the theme #1775

Open HippyCraig opened 1 month ago

HippyCraig commented 1 month ago

Your environment SYSTEM INFO: Obsidian version: v1.5.12 Installer version: v1.5.12 Operating system: Windows 10 Pro 10.0.19045 Login status: not logged in Insider build toggle: off Live preview: off Base theme: dark Community theme: ITS Theme v1.2.68 Snippets enabled: 4 Restricted mode: off Plugins installed: 113 Plugins enabled: 54 1: ReadItLater v0.4.0 2: Extract url content v0.12.1 3: Excalidraw v2.1.7 4: Templater v2.2.4 5: Fantasy Statblocks v4.4.0 6: Admonition v10.2.0 7: Leaflet v6.0.5 8: Prominent Bookmarked Files v2.0.2 9: Settings Search v1.3.10 10: Folder Note Core v1.3.5 11: AidenLx's Folder Note v0.16.5 12: Metadata Menu v0.8.7 13: Dataview v0.5.66 14: AidenLx's Folder Note - folderv component v1.0.0 15: Paste image rename v1.6.1 16: Custom Attachment Location v0.0.9 17: Excel to Markdown Table v0.4.0 18: Style Settings v1.0.8 19: HTML Reader v1.0.12 20: Markdown Attributes v1.2.2 21: Mermaid Tools v1.1.1 22: Homepage v3.8.0 23: Various Complements v10.0.0 24: Multi-Column Markdown v0.9.1 25: QuickAdd v1.8.1 26: Git v2.24.1 27: Icon Shortcodes v0.9.7 28: Natural Language Dates v0.6.2 29: Text Format v3.0.3 30: Regex Find/Replace v1.2.0 31: Global Search and Replace v0.3.0 32: Highlightr v1.2.2 33: Focus and Highlight v1.3.2 34: Kanban v1.5.3 35: Hider v1.3.1 36: Markdown Table Editor v0.3.1 37: Editing Toolbar v2.4.16 38: Image Converter v1.1.7 39: Sheets Extended v1.2.10 40: Update time on edit v2.4.0 41: DB Folder v3.5.1 42: Folder Note v0.7.3 43: CSS Editor v1.2.0 44: Mini Toolbar v0.0.3 45: Note Linker v1.2.4 46: Media Notes v1.2.0 47: Codeblock Customizer v1.2.6 48: Media Extended v3.1.0 49: Number Headings v1.16.0 50: Waypoint v2.1.0 51: Confluence Sync v1.0.8 52: Webpage HTML Export v1.8.01 53: Copy as source v1.0.2 54: Advanced Tables v0.21.0

RECOMMENDATIONS: Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets. Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Describe the bug This is 3 bugs I found, thought it would be easier to consolidate, if not in the future I can make sure there seperate

1 - SVG File location: I use a plugin called "Custm Attachment Location to organize my images in notes and any embedded files. Is there a way to get Excalidraw to work with this to keep the SVG that are created in the location in the plugin setting? image

2 - Converting a Template Note: I just wanted to update my templates to allow the functionality of moving between my exiting template and Excalidraw. When I use the command "Excalidraw: Convert: markdown to Excalidraw Drawing" it seems to be missing something when it add the block at the bottom of the page. There is a %% at the endo fo the content that was added but not before it. I did notice that after I add some drawings that the the %% get added to the correct place, but this is a template so I wanted to kept blank. Also what is the added "# Text Elements" heading used for? See Image: image

3 - Having the drawing match the theme: I am using the ITS Theme in dark mode but when I go over to the Excalidraw view, it doesnt seem to horor the settings, is this by design or is it supposed to be in dark mode if that is the color schema I selected.

Thanks for taking the time to look at this :)