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

onSelect event #216

Open
shenwu1989 opened this issue Dec 22, 2020 · 2 comments
Open

onSelect event #216

shenwu1989 opened this issue Dec 22, 2020 · 2 comments
Labels

Comments

@shenwu1989
Copy link

The onSelect event, the paste HTML will fire the onSelect event all the time, and editing the HTML content again will fire the onSelect event all the time, only the plain text will execute properly

@lovasoa
Copy link
Owner

lovasoa commented Dec 22, 2020

Is this a bug report ? If so, please give a reproducible example code, the steps to reproduce the issue, the expected behavior and the actual behavior.

@shenwu1989
Copy link
Author

这是错误报告吗?如果是这样,请提供可复制的示例代码,重现问题的步骤,预期的行为和实际的行为。

https://codesandbox.io/s/simple-rich-text-editor-in-react-forked-jklh2?file=/src/index.js

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

No branches or pull requests

2 participants