Open plaisted opened 4 months ago
Thanks for the report @plaisted! Can you confirm which version you're using? We recently changed the deletion behavior in the react-editor-view branch; I'm trying to figure out whether we broke this recently or may have just fixed it
Hi @smoores-dev , I'm using 0.7.0-next.5 which is the latest published version.
@plaisted would you be able to either share your schema and node views, or create a minimal reproduction in codepen or some such? I'm actually unable to reproduce locally!
I saved a branch with the issue but will take some with to extract everything into something shareable.
Thanks, I appreciate it!
Howdy! I’ve had a chance to look into this a bit more, and here’s what I’ve learned:
Just wanted to make sure it was clear that this isn't blocking and won't be a problem for users in production!
This is using the latest react-editor-view branch. Sounds sort of similar some of the issues in #42
When a new paragraph or heading is added with a single character, backspace does not work. To remove the character backspace must be hit twice. Note this does not seem to be isolated to backspace, as shift left also fails to highlight the character.
https://github.com/nytimes/react-prosemirror/assets/20848495/6c321086-ca14-48d7-b91b-aab084fdcf3e