pulsar-edit / pulsar

A Community-led Hyper-Hackable Text Editor
https://pulsar-edit.dev
Other
3.33k stars 140 forks source link

Text copied from markdown preview is not styled #998

Open pjdon opened 6 months ago

pjdon commented 6 months ago

Thanks in advance for your bug report!

What happened?

Copying from markdown preview does not copy markdown styles/formatting

Pulsar version

1.116.0

Which OS does this happen on?

🪟 Windows

OS details

Windows 10

Which CPU architecture are you running this on?

x86_64/AMD64

What steps are needed to reproduce this?

  1. Create file test.md
  2. Insert mardown list into file, e.g.
    * one
    * two
  3. Open markdown preview using shortcut CTRL + SHIFT + M
  4. Copy contents of preview
  5. Paste into any editor that supports pasting formatted text such as Slack or Discord
  6. Note that pasted text is not formatted

Compare to copy-pasting from Visual Studio Code markdown preview where styles are preserved

Additional Information:

No response