Cannot assign to read only property 'key' of object '#
nsqnsq opened this issue · comments
- I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- I have read the documentation and cannot find an answer.
Describe the bug
When using your example, an error message appears when selecting two lines of text consecutively:Cannot assign to read only property 'key' of object '#
Reproduction
https://github.com/mdx-editor/editor/blob/main/src/examples/html.tsx
To Reproduce
Steps to reproduce the behavior:
Expected behavior
This is almost certain to happen. I hope it works normally. Thank you.
Desktop (please complete the following information):
- OS: Windows Must appear
- Browser Chrome
Additional context
"@mdxeditor/editor": "^3.20.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"
The example you refer to be used as a starting point for your implementation and not a built-in feature. Feel free to adjust it to your needs.
Hello, I still don't quite understand how to change this color. Can you tell me how to do it? Thank you