Skip to content

Pasted markdown is not formatted #1399

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

Closed
rvveber opened this issue Jan 29, 2025 · 6 comments
Closed

Pasted markdown is not formatted #1399

rvveber opened this issue Jan 29, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@rvveber
Copy link

rvveber commented Jan 29, 2025

Describe the bug
Image

Misc
Chromium 131.0.6778.139
Linux

@YousefED
Copy link
Collaborator

@rvveber at this moment this is intentional, but we've seen the request before. I feel if we'd automatically convert text from markdown - other users will run into the issue that they expect plain text.

We could take a few different approaches:

  1. Automatically convert from markdown and see if this causes issues
  2. Make this an editor setting, so developers can enable / disable this at will
  3. Actually offload paste behavior to the user "paste plain", "paste rich text", etc. (similar to gdocs / notion). Seems a bit overkill at this point I think though

I'm adding this to our issue tracker (@virgile-dev can prioritize), and will keep an eye out for similar request from the community

@virgile-dev
Copy link
Contributor

We have a lot of users coming from Hedgedoc (using markdown) so I get asked about this frequently.
We even had to implement this M button in our toolbar.

Image

@YousefED I'd go for the first option you suggest.

@rl-83
Copy link

rl-83 commented Mar 25, 2025

I'm bringing up this issue because, in terms of UX, the M is poorly (if not completely) understood by users in Docs, and user-wise it would be helpful to have a copy/paste feature without worrying about the format.

Where do we stand on prioritizing this issue? Would it be complicated to address? @virgile-dev @YousefED

@YousefED
Copy link
Collaborator

wip, see: #1490

@rvveber
Copy link
Author

rvveber commented Apr 16, 2025

For pasting something un-formatted the shortcut is usually:
ctrl + shift + v
or
cmd + shift + v
[source]

Would be nice to have that working.
If users complain about automatically converting to markdown
educate them with the proper universal shortcut.

@YousefED
Copy link
Collaborator

closed by #1490

@rvveber I'll create a separate issue for your suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants