-
Notifications
You must be signed in to change notification settings - Fork 17
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
backspace does not work on first keystroke for new single character text block #128
Comments
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.
prosemirror.mp4
The text was updated successfully, but these errors were encountered: