Skip to content

Copying rich text only captures one heading at a time #402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 2 tasks
dethe opened this issue Apr 8, 2025 · 0 comments
Open
1 of 2 tasks

Copying rich text only captures one heading at a time #402

dethe opened this issue Apr 8, 2025 · 0 comments

Comments

@dethe
Copy link

dethe commented Apr 8, 2025

Is this a hackmd.io issue?

What's the problem

I often copy the HTML-formatted text (from view or split view) into LibreOffice Writer to produce a .docx file. This worked fine for years, but in recent months I can highlight the whole text, but what gets pasted is only the first heading and any text following it up to the next heading. Possibly related to #387 but very different results.

Current behaviour

Provide steps to reproduce:

  1. Go to 'hackmd.io/new'
  2. Type or paste a Markdown document (often meeting minutes for me, lots of headings)
  3. In the formatted view, select all the formatted text, copy with Ctrl-V
  4. Paste into Writer
  5. Only the first heading shows up

Expected behaviour

Entire formatted document should be pasted in.

Environment

I use HackMD on:

Desktop

  • OS: Windows
  • Browser: Firefox
  • Browser Version: 136.0.4

Additional context

This had been working fine for years, but I noticed it had stopped working a couple of months ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant