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

[RNMobile] Do not use hard coded fontFamily in Image block #13677

Merged
merged 21 commits into from
Feb 6, 2019
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
00ec3ca
Use RichText component in Title block for mobile.
daniloercoli Jan 28, 2019
45f8bde
Fix lint
daniloercoli Jan 28, 2019
68b353c
Merge branch 'master' of https://github.com/WordPress/gutenberg into …
daniloercoli Jan 30, 2019
f332203
Set font family, weight, and size via RN props for Title, Heading, an…
daniloercoli Jan 30, 2019
63586f1
Fix lint
daniloercoli Jan 30, 2019
06d9f84
Adds font* props to PlainText for mobile
daniloercoli Jan 31, 2019
5a43ea9
Make `serif` default family for RichText on mobile
daniloercoli Jan 31, 2019
3f8f97c
Set the correct font family for Image caption on mobile
daniloercoli Jan 31, 2019
bd629d8
Set the correct font family for Nextpage block on mobile
daniloercoli Jan 31, 2019
624b473
Set the correct font family for Code block on mobile
daniloercoli Jan 31, 2019
10ad47d
Merge branch 'master' of https://github.com/WordPress/gutenberg into …
daniloercoli Feb 1, 2019
63346cf
set the correct font family for Image caption on mobile
daniloercoli Feb 1, 2019
c029cb4
Remove extra fontFamily props.
daniloercoli Feb 1, 2019
8b52a1a
Remaps some font names so that they work in iOS. (#13628)
diegoreymendez Feb 1, 2019
2a126ab
Make sure PlainText takes in consideration the fontFamily passed via …
daniloercoli Feb 1, 2019
70836f1
Merge branch 'master' of https://github.com/WordPress/gutenberg into …
daniloercoli Feb 5, 2019
544f096
Do not use hard coded `fontFamily` value, instead use CSS style.
daniloercoli Feb 5, 2019
d9dba31
Merge branch 'master' of https://github.com/WordPress/gutenberg into …
daniloercoli Feb 5, 2019
3ff3d9c
Merge branch 'master' of https://github.com/WordPress/gutenberg into …
daniloercoli Feb 5, 2019
db0c608
Add missing new line at end of style
daniloercoli Feb 5, 2019
398c26e
Merge branch 'master' of https://github.com/WordPress/gutenberg into …
daniloercoli Feb 5, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make serif default family for RichText on mobile
  • Loading branch information
daniloercoli committed Jan 31, 2019
commit 5a43ea9375a76dab463e1bd8578f939edd3ecc96
2 changes: 1 addition & 1 deletion packages/editor/src/components/rich-text/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ export class RichText extends Component {
color={ 'black' }
maxImagesWidth={ 200 }
style={ style }
fontFamily={ this.props.fontFamily }
fontFamily={ this.props.fontFamily || 'serif' }
fontSize={ this.props.fontSize }
fontWeight={ this.props.fontWeight }
fontStyle={ this.props.fontStyle }
Expand Down