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

control +c, getApi(). markdown. serialize(). replication problem #4071

Open
qingyou730 opened this issue Feb 11, 2025 · 0 comments
Open

control +c, getApi(). markdown. serialize(). replication problem #4071

qingyou730 opened this issue Feb 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@qingyou730
Copy link

Description

Image

We've noticed some issues when copying content with line breaks and paragraphs in the editor:

When using Control+C to copy, it tends to capture more content than intended, which might be a bit inconvenient.

When retrieving content through getApi().markdown.serialize(), you may find some HTML tags like
in the output, which might not be what you're looking for.

Would you like me to help you find a solution to these issues? There are some ways we can handle these situations more elegantly.

Reproduction URL

https://platejs.org/editors

Reproduction steps

1. Go to https://platejs.org/editors
2. Click on '....'
3. Scroll down to '....'
4. See error

Plate version

all

Slate React version

all

Screenshots

Logs

Browsers

No response

@qingyou730 qingyou730 added the bug Something isn't working label Feb 11, 2025
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

1 participant