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

Triple click incompatible with nested blocks #2503

Closed
caifara opened this issue Dec 20, 2018 · 1 comment
Closed

Triple click incompatible with nested blocks #2503

caifara opened this issue Dec 20, 2018 · 1 comment

Comments

@caifara
Copy link

caifara commented Dec 20, 2018

Do you want to request a feature or report a bug?

bug

What's the current behavior?

Upon using triple-click + backspace to delete the first of two adjacent custom blocks A and B (A itself containing a paragraph), the second block (block B) becomes nested in block A.

These tickets/PR's are related: #1605, #950, #863 (comment)

The gif start with a triple-click + delete having an expected result (everything else stays the same) and continues with two unexpected ones (the adjacent block becomes nested in the first block).

https://jsfiddle.net/caifara/62e3bxgL/5/

Mac OS 10.14, Chrome 71.0.3578.98, Slate 0.44.9, Slate-react 0.21.15

What's the expected behavior?

The selected line gets deleted, everything else stays the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants