You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pressing delete at the beginning of a block can move the focus to the wrong block when the merge of the 2 blocks cannot happen due to different ("unmergeable") block types.
To reproduce this issue:
Start the demo app
Move the cursor at the beginning of the Para block Lorem...
Tap delete
You will the top "Page Break" block being selected, but the caret is still in the current block and the keyboard up
This is not a problem of the onMerge code, but rather of the focus handling, since i can also replicate this with other steps. Link to the relevant ticket soon to arrive.
The text was updated successfully, but these errors were encountered:
Is this one still valid after #308 was closed? What should be the desired behavior?
Also, if this is for the beta (it's in that milestone) let's take it out of the list on #196 which is for the alpha.
Pressing delete at the beginning of a block can move the focus to the wrong block when the merge of the 2 blocks cannot happen due to different ("unmergeable") block types.
To reproduce this issue:
Lorem...
delete
Note that in GB the standard behavior is to move the focus to the previous block if it's not mergeable. https://github.com/WordPress/gutenberg/blob/master/packages/editor/src/store/effects.js#L165
This is not a problem of the onMerge code, but rather of the focus handling, since i can also replicate this with other steps. Link to the relevant ticket soon to arrive.
The text was updated successfully, but these errors were encountered: