zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.15k stars 230 forks source link

BUG: text sizing issue #2086

Open Daniel21b opened 15 hours ago

Daniel21b commented 15 hours ago

Have you searched for existing issues (including closed ones)?

Does this bug persist in a new vault with only Excalidraw installed?

Your environment

SYSTEM INFO: Obsidian version: v1.7.4 Installer version: v1.6.3 Operating system: Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:45 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8112 24.1.0 Login status: logged in Language: en 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: 2 Plugins enabled: 2 1: Excalidraw v2.2.6 2: Tasks v7.4.0

Describe the bug

When creating notes in Excalidraw within Obsidian, text elements are experiencing a persistent display issue: Behavior:

Text displays correctly while actively typing/editing Approximately 80% of text elements get cut off on the right side after clicking away/losing focus The content is still there but visually truncated

Steps to reproduce

Steps to Reproduce:

Open Excalidraw in Obsidian Create a text element Type content that extends beyond a few words Click away from the text element Observe the right-side text truncation

Expected behavior

Current Workaround:

Manually interacting with the text element temporarily restores proper display Issue returns after losing focus again

Additional context

No response

zsviczian commented 11 hours ago

Please share screenshot. Which font are you using, does this happen with all fonts?

zsviczian commented 11 hours ago

I just noticed you are using an old version of the plugin. 2.2.6. Please update to the latest release and confirm if the issue persists.

Daniel21b commented 4 hours ago

I did update and the issue still persists, I haven't used other fonts only the handwritten but i believe the issue might be related to Text Alignment" as sometimes text cutoff can be related to how the text is aligned within its container.

Screenshot 2024-10-30 at 10 39 20 AM Screenshot 2024-10-30 at 10 39 29 AM