Closed themensch closed 5 months ago
I looked at the raw data this morning and it looks like the very first text block is the one that receives the additional "## Text Element" string(s). By keeping the text file open in my IDE I can see the text being added when I click away from the drawing in Obsidian.
Can you send me a file before conversion so I can try to reproduce this in my own environment?
@zsviczian I am able to reliably reproduce the bug with the following process:
I've attached the documents both before and after I click away. examples.zip
Oh, and I replicated the behavior on my iPhone and my Mac, which all share the same vault shared via iCloud.
hm... can't reproduce in my vault. My guess is, this is caused by linter. Disable linter and see if you can reproduce the issue. If not, then try turning on this feature in settings:
Eureka!
Disabling the linter did fix the problem; weird, I've had that linter installed for a long time now.
Toggling that setting fixed the problem, thanks! I checked the linter for the ability to exclude certain filetypes, but unfortunately, it can only exclude folders. It does have a "lint on document change" function which I have enabled.
Thanks for all your help, I think this issue is solved.
verified across iPad, iPhone, mac.
I have the same issue before, it comes from linter-Heading blank lines
, it add some blank lines after ## Text Element
. Disable it will fix the problem.
Your environment Please run
Command Palette/Show Debug info
in Obsidian and paste the result here. SYSTEM INFO: Operating system: ios 17.5.1 (Apple iPad13,16) Obsidian version: 1.5.12 (134) API version: v1.5.12 Login status: not logged in Live preview: off Base theme: adapt to system Community theme: Prism v3.5.0 Snippets enabled: 3 Restricted mode: off Plugins installed: 9 Plugins enabled: 9 1: Advanced Tables v0.21.0 2: Linter v1.24.0 3: Style Settings v1.0.8 4: File Color v1.1.0 5: Mind Map v1.1.0 6: Settings Search v1.3.10 7: Outliner v4.8.1 8: Dice Roller v11.0.4 9: Excalidraw v2.2.3Describe the bug
Drawings in my obsidian vault that were previously okay now have the string "## Text Elements" added to text blocks in drawings. Removing the text from the text block and saving does not actually fix the problem, it returns when I click away and then back to the document. In some text blocks, it happens twice.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Text should not change when a drawing is loaded or reloaded.
Screenshots It is important to note that these drawings have existed for a month or longer without this issue.