Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

[Android] Extra backspace in paragraph blocks with formatting #1524

Closed

Description

@mchowning

On Android only, removing formatted text from a paragraph block can get you to a state where there is no formatting and no placeholder appearing. You have to press backspace an extra time to get the placeholder to appear.

Steps

  1. Add a paragraph block with some text
  2. Apply formatting to all the text
  3. press the backspace key once for each character in the text
  4. Observe that the paragraph block is empty, with no formatting active, and without the placeholder appearing (if you check the html at this point, you will see that it is <p></p>, and that when you return from the html view the placeholder will be showing)
  5. Press backspace again
  6. Observe the placeholder text appear

android_extra_backspace mp4

Activity

  1. added
    [Type] Bug
    on Oct 31, 2019
  2. hypest commented on Jun 11, 2020

    @hypest
    Contributor

    Confirmed still happening on WPAndroid v15.0-rc-3.

  3. mchowning commented on Aug 6, 2020

    @mchowning
    ContributorAuthor

    If the rich text block is in the state where the placeholder is not showing, typing the @ character will not trigger the mentions UI. Instead, you have to tap the backspace key an extra time (so that the placeholder shows up) and then the @ character will trigger the @-mentions.

    Interestingly, adding an @-mention at the very start of a text view and then pressing backspace to delete the mention is for me a very consistent way of reproducing the requires-an-extra-backspace issue.

    Thanks to @designsimply for raising this. 🙇

  4. self-assigned this
    on Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Writing Flow[OS] Android[Type] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions