Skip to content
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

[Bug] Pasting text from Google Docs results in bold text #1209

Open
2 tasks done
illright opened this issue Dec 20, 2023 · 1 comment
Open
2 tasks done

[Bug] Pasting text from Google Docs results in bold text #1209

illright opened this issue Dec 20, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@illright
Copy link

Initial checklist

  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Affected packages and versions

7.3.2

Link to runnable example

https://milkdown.dev/playground?text=FTDiHtwcwGwUwAQBNwGMDOCCWmoCc4BDAFwEIQAoIA%3D%3D

Steps to reproduce

  1. Create a document in Google Docs with some plain-text, regular font weight content (e.g. Google Docs is great!)
  2. Copy that content
  3. Go to milkdown.dev and paste it into the editor on the home page
  4. See the text appearing as bold, even though it wasn't bold in the source

Expected behavior

The text formatting should be preserved

Actual behavior

The text is bold

Runtime

Chrome

OS

macOS

Build and bundle tools

No response

@illright illright added the bug Something isn't working label Dec 20, 2023
@illright
Copy link
Author

What's interesting is that ProseMirror itself seems to handle this correctly

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

2 participants