Skip to content

Crash when opening a post with fontSize set to a paragraph #2991

@hypest

Description

@hypest

Describe the bug
The editor is crashing when opening a post that has a custom font size set in a paragraph.

To Reproduce
Steps to reproduce the behavior:

  1. On the web, create a simple post with a single paragraph block and set its "Font Size" in the Typography section (see screenshot)
  2. Save the post as draft or publish it
  3. Go to the WPAndroid and open the post
  4. 💥

Expected behavior
The app should not crash.

Screenshots
Screenshot 2021-01-11 at 16 03 00

Smartphone (please complete the following information):

  • Device: Pixel 2XL
  • OS: Android 11
  • WPAndroid Version 16.4-rc-3, 16.3, 15.9.1 (at least, probably happening on more versions too)

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions