wordpress-mobile / gutenberg-mobile

Mobile version of Gutenberg - native iOS and Android
GNU General Public License v2.0
254 stars 56 forks source link

[GlobalStep] iOS – The automatic paragraph tagging in HTML Editor displays erroneous behaviour. #2071

Open wptester9845 opened 4 years ago

wptester9845 commented 4 years ago

Description

While creating a new Blog Post with the Block Editor toggle enabled, switching to HTML Editor and then typing plain text does not automatically tag the input text with the <p> and </p> tags until the user selects the title textbox. Afterwards, adding text outside the paragraph tags will cause it to be automatically tagged after a brief moment when the user is not typing. It’s expected that the automatic tagging would function like this from the start. This behaviour is also inconsistent with the Android version of the application where the automatic paragraph tagging occurs from the start.

Reproduction Rate

4/4 100%

Expected behaviour

The user should not have to select the Title textbox for the automatic paragraph tags to be displayed.

Actual behavior

The paragraph tags only appear automatically after the user selects the Title textbox.

Steps to reproduce the behavior

  1. Install WordPress 14.5
  2. Login to a valid account
  3. Create a new Blog Post.
  4. Tap the Meatball Menu.
  5. Select the "Switch to HTML Mode" button.
  6. Select the "Start Writing" textbox.
  7. Type anything.
  8. Select the "Add title" textbox.
  9. Select the content textbox again.
  10. Type anything.
    Tested on the following

    iPhone 5S (11.4) iPhone 5S (12.0) iPad Air 3 (13.2.3)

Please see the attached video for more information

iOSParagraphTags.zip

Submitted by:

Luis Pimenta

mchowning commented 4 years ago

Related to this, it is possible for HTML mode to "update" and remove an entire empty paragraph block on both iOS and Android:

  1. Open a new Post
  2. Tap on the single paragraph block and add a single letter
  3. Switch to HTML mode
  4. Remove the single letter in the paragraph block
  5. Observe that after a second the entire block is removed from HTML mode

remove_empty_paragraph mp4

SiobhyB commented 8 months ago

Verified this is still an issue in 24.3, tested on Android. Following the reproduction steps leads to an unsupported classic block being rendered:

wp-17085166869588544288182927428938