Open shenwu1989 opened 3 years ago
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.
这是错误报告吗?如果是这样,请提供可复制的示例代码,重现问题的步骤,预期的行为和实际的行为。
https://codesandbox.io/s/simple-rich-text-editor-in-react-forked-jklh2?file=/src/index.js
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