Skip to content

Image block deletion produces red-screen (crashes wpandroid) #1126

@hypest

Description

@hypest

On hash 17d4090d (release/1.7.0 branch at the time of writing).

Steps to reproduce (demo app):

  1. Start with empty string in initial-html.js
  2. Tap in the "start writing..."
  3. Delete the paragraph block
  4. Add an image block (no need to select an image though)
  5. Delete the image block
  6. Red screen:

screenshot-1560375553529

Steps to reproduce (wpandroid):

  1. Start with an empty post
  2. Tap in the "start writing..."
  3. Delete the paragraph block
  4. Add an image block (no need to select an image though)
  5. Delete the image block
  6. 💥

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions