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

Splitting, merging, and splitting a text block on iOS results in two blocks with incorrect content #29046

Closed
dcalhoun opened this issue Feb 16, 2021 · 1 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) [Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended
Projects

Comments

@dcalhoun
Copy link
Member

dcalhoun commented Feb 16, 2021

Description

On iOS, splitting, merging, and splitting a text block will cause two blocks to be created, but the text is not properly split. Instead, the entirety of the text is moved to the second block.

Step-by-step reproduction instructions

  1. Create a new post.
  2. Add a paragraph block.
  3. Add text to the paragraph.
  4. Place cursor in the middle of the paragraph.
  5. Tap return key.
  6. Tap delete key.
  7. Tap return key.

Expected behaviour

Two blocks are present. The first containing the text before the cursor place meant. The second placing the text after the cursor placement.

Actual behaviour

Two blocks are present. The first containing no text. The second placing all of the text.

Screenshots or screen recording (optional)

ios-split-merge-split-bug.MP4

WordPress information

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

Device information

  • Device: iPhone SE
  • Operating system: iOS 14.4
  • WordPress app version: 405b32b8e85c90ef869a0027c7c9dd520f878a9c (1.47.0 release)
@dcalhoun dcalhoun added the Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) label Feb 16, 2021
@mchowning mchowning added [Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended labels Feb 18, 2021
@mchowning mchowning added this to Triage in Mobile Apps via automation Feb 18, 2021
@mchowning mchowning moved this from Triage to To do in Mobile Apps Feb 18, 2021
@dcalhoun
Copy link
Member Author

@geriux closing this as I believe you addressed it within #29074. Please reopen if I am mistaken.

Mobile Apps automation moved this from To do to Done Mar 15, 2021
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) [Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended
Projects
Mobile Apps
  
Done
Development

No branches or pull requests

2 participants