Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color of paragaph #2068

Closed
dratwas opened this issue Mar 26, 2020 · 0 comments
Closed

Color of paragaph #2068

dratwas opened this issue Mar 26, 2020 · 0 comments
Labels
[Type] Bug Something isn't working

Comments

@dratwas
Copy link
Contributor

dratwas commented Mar 26, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants