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

Incorrect paste behavior, paste causes highlight failure and style errors #5

Open
Innei opened this issue Nov 10, 2024 · 1 comment

Comments

@Innei
Copy link

Innei commented Nov 10, 2024

Since this is a contentable element, there is no processing when pasting rich text, and it should only paste plain text.

CleanShot.2024-11-10.at.2.15.22.mp4
@KazariEX
Copy link
Owner

The original intention of doing this is to make some rich text in the code work well, because not all browsers support contenteditable="plaintext-only". I'm not sure if manually support this will introduce too much rich text processing code into the library.

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

2 participants