Skip to content
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

Support contentEditable={false} in (inline) elements #5372

Closed
zbeyens opened this issue Mar 17, 2023 · 0 comments · Fixed by #5374
Closed

Support contentEditable={false} in (inline) elements #5372

zbeyens opened this issue Mar 17, 2023 · 0 comments · Fixed by #5374
Labels

Comments

@zbeyens
Copy link
Contributor

zbeyens commented Mar 17, 2023

Description
Arrow keys left and right can't skip nodes if they are not editable

Recording

slate.content.editable.mov

Steps
To reproduce the behavior:

  1. Make an (inline) node non editable contentEditable={false}
  2. Set cursor before that node
  3. Press right arrow key
  4. Press again until seing the cursor after that node

Expectation
Cursor should not enter in the node

Environment

  • Slate Version: 0.91.0
  • Browser: Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant