[RNMobile] Fix background and text colour on pullquote block#34451
[RNMobile] Fix background and text colour on pullquote block#34451
Conversation
|
Size Change: 0 B Total Size: 1.07 MB ℹ️ View Unchanged
|
|
Hey @enejb 👋 thanks for working on this issue! As we discussed internally we could consider making a native variant for Pullquote, since we might need some changes that the core code wouldn't need. On native, every blocks receives within its props the So we can just pass that to the respective components to show the colors. What do you think? |
e05e332 to
57c1d9a
Compare
57c1d9a to
56d6a89
Compare
|
@geriux can you take another look? |
c6ed774 to
3f7b150
Compare
|
Thanks for all the feedback @geriux. |
geriux
left a comment
There was a problem hiding this comment.
Thanks for the changes @enejb! I left two comments/questions about having the same behavior as web: using the selected text color (or the default text color if none is selected) for the border color.
E.g:
| Before | After |
|---|---|
![]() |
![]() |
| Before | After |
|---|---|
![]() |
![]() |
What do you think?
042fe1f to
bbc9288
Compare
|
I really like the change that you suggested. Thanks for all the fixes @geriux ! |
Co-authored-by: Gerardo Pacheco <[email protected]>
Co-authored-by: Gerardo Pacheco <[email protected]>
Co-authored-by: Gerardo Pacheco <[email protected]>
Co-authored-by: Gerardo Pacheco <[email protected]>
b6abacf to
9fd9bcf
Compare
geriux
left a comment
There was a problem hiding this comment.
LGTM! Nice work 👏 🚀 Tested it on both iOS and Android with a standard theme and with a block-based one.
# Conflicts: # packages/react-native-editor/CHANGELOG.md





Fixes #34358
This PR still needs more testing on my end.
This PR fixes the color selection for the text and background that was removed in #30951
Description
Adds back the colours for the text and background.
How has this been tested?
Testing selfhosted sites.
6. On a WP 5.8 self hosted site. Create a few different variations of the pull quote.
7. Do the pull quotes look as expected in the editor / similar to the preview.
Screenshots
Types of changes
Bug Fix
Checklist:
*.native.jsfiles for terms that need renaming or removal).