-
Notifications
You must be signed in to change notification settings - Fork 57
Color of paragaph #2068
Copy link
Copy link
Closed
Labels
[Type] BugSomething isn't workingSomething isn't working
Description
The color that is set on the web in the paragraph is not rendered properly on mobile.
The bug was introduced here : WordPress/gutenberg@6603642
To Reproduce
- Set this as initialHTML or set the color of the paragraph on the web version
<!-- wp:group -->
<div class="wp-block-group"><div class="wp-block-group__inner-container"><!-- wp:paragraph -->
<p>Nested paragraph - Text Color set in group</p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:group -->
<!-- wp:group -->
<div class="wp-block-group"><div class="wp-block-group__inner-container"><!-- wp:paragraph {"customTextColor":"#09b5ff","customBackgroundColor":"#9aa300"} -->
<p style="background-color:#9aa300;color:#09b5ff" class="has-text-color has-background">Nested paragraph - Text Color set in paragraph</p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:group -->
<!-- wp:paragraph {"customTextColor":"#09b5ff","customBackgroundColor":"#9aa300"} -->
<p style="background-color:#9aa300;color:#09b5ff" class="has-text-color has-background">NOT nested paragraph - Text Color set in paragraph</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"textColor":"secondary","customBackgroundColor":"#9aa300"} -->
<p style="background-color:#9aa300" class="has-text-color has-background has-secondary-color">NOT nested paragraph - Text Color set in paragraph</p>
<!-- /wp:paragraph -->
- Open mobile app
- The color of the paragraph is not set
Expected behavior
The paragraph should have text color set to the same as on the web
Screenshots
| Current | Expected |
|---|---|
![]() |
![]() |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Type] BugSomething isn't workingSomething isn't working

