Fix crash in mobile paragraph blocks with custom font size#2993
Fix crash in mobile paragraph blocks with custom font size#2993cameronvoell wants to merge 7 commits intodevelopfrom
Conversation
|
Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job! |
|
I verified that preformatted block did not have the same issue with custom fontSize causing a crash, but have not completed a full audit on where else this could be broken on mobile yet. Will update here if I feel confident that custom fontSize is not crashing us outside the paragraph block |
|
When we'll be confident about the fix, we'll want to publish it as a hotfix against the production apps, or betafix if it lands too late for a hotfix. |
The same testing steps were crashing in Heading, and List blocks so I updated the fix and the testing steps. This PR is ready for review now. |
|
Tested both WPAndroid and WPiOS and works like a charm! |
|
Fix was merged to gutenberg master, and brought to gutenberg-mobile by betafix merge to master PR, so I'll close this PR |
Fixes #2991
Related PRs:
Description
This change fixes a crash when opening a post that has a custom font size set in a paragraph.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The app should not crash.
Screenshots:
PR submission checklist: