zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.08k stars 221 forks source link

BUG: Duplication of text when copy pasting with a shape or image with a markdown wiki link #1722

Open FancyBEAST opened 5 months ago

FancyBEAST commented 5 months ago

Your environment SYSTEM INFO: Obsidian version: v1.5.12 Installer version: v1.5.11 Operating system: Windows 10 Home Single Language 10.0.22631 Login status: not logged in 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.1.4

RECOMMENDATIONS: 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 When you copy a group of text alongside one or more shape/image that has a markdown wiki link attached to it, pasting will always paste two copies of the same text. The shape and image is only pasted once but the text is always pasted twice

To Reproduce Steps to reproduce the behavior:

  1. Create a shape or Attach an Image to the drawing
  2. Add a markdown wiki link to the shape or Image
  3. Add a bunch of text.
  4. Select them all together and copy paste.

Expected behavior Text should only be pasted once

zsviczian commented 5 months ago

Fixed in 2.1.5