Skip to content

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

@dcalhoun

Description

@dcalhoun

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Priority] HighUsed to indicate top priority items that need quick attention[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions