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

Paragraph block: Deleting everything in a split paragraph does not result in the selecting the previous block #56614

Closed
jhnstn opened this issue Nov 28, 2023 · 3 comments
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Bug An existing feature does not function as intended

Comments

@jhnstn
Copy link
Contributor

jhnstn commented Nov 28, 2023

Description

Writing flow test case TC004 is failing the last step.
After deleting everything in a split block and then deleting the block does not result in the previous block being selected.

Step-by-step reproduction instructions

Follow TC004

Expected behaviour

The previous paragraph should be selected

Actual behaviour

No blocks are selected

Screenshots or screen recording (optional)

screen-20231128-134936.mp4

WordPress information

  • WordPress version: latest
  • Gutenberg version: latest
  • Are all plugins except Gutenberg deactivated? No
  • Are you using a default theme (e.g. Twenty Twenty-One)? Yes

Device information

  • Device: Pixel 8
  • Operating system: Android 14
  • WordPress app version: 23.6
@jhnstn jhnstn added [Type] Bug An existing feature does not function as intended Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) labels Nov 28, 2023
@jhnstn
Copy link
Contributor Author

jhnstn commented Nov 28, 2023

This has the same end result as #56512 but with different initial conditions.

@jordesign jordesign changed the title Paragraph block: Deleteing everything in a split paragraph does not result in the selecting the prvious block Nov 28, 2023
@fluiddot
Copy link
Contributor

This has the same end result as #56512 but with different initial conditions.

I think it's the same cause as #56512, so most likely this PR will fix it. Hence, I propose to close it as it will be resolved when the betafix 1.109.1 is merged into 23.8.

cc @geriux

@geriux
Copy link
Member

geriux commented Nov 29, 2023

I think it's the same cause as #56512, so most likely this PR will fix it. Hence, I propose to close it as it will be resolved when the betafix 1.109.1 is merged into 23.8.

I agree! This should be fixed so we can close this one 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Bug An existing feature does not function as intended
3 participants