Skip to content

Color of paragaph #2068

@dratwas

Description

@dratwas

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

  1. 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 -->
  1. Open mobile app
  2. 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
Simulator Screen Shot - iPhone X - 2020-03-26 at 15 54 50 Simulator Screen Shot - iPhone X - 2020-03-26 at 15 55 43

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions