Yoopta-Editor
Yoopta-Editor copied to clipboard
[BUG] Loading a codeblock into editor, try to highlight some code, and it errors out in console but not crashing.
Has this bug been raised before?
- [X] I have checked "open" AND "closed" issues and this is not a duplicate
Description
The error message: Error: Cannot find a descendant at path [0] in node: {"children":[],"operations":[],"selection":null,"marks":null,"history":{"undos":[],"redos":[]}}
Steps to Reproduce
- Load a codeblock element
- Try to highlight some text in it first-thing.
Environment
- OS: MacOS
- Browser: Chrome
Screenshots
https://github.com/user-attachments/assets/e89cb61d-61ac-4c71-aa15-4cf770cf64ab
Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response