-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[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? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c6ed774
to
3f7b150
Compare
Thanks for all the feedback @geriux. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.js
files for terms that need renaming or removal).