Created
January 22, 2019 18:51
-
-
Save daniloercoli/11f917e4cf1ee046875edbc843d9e85a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/packages/editor/src/components/plain-text/index.native.js b/packages/editor/src/components/plain-text/index.native.js | |
index 35ffd2782..7a0e6643e 100644 | |
--- a/packages/editor/src/components/plain-text/index.native.js | |
+++ b/packages/editor/src/components/plain-text/index.native.js | |
@@ -47,6 +47,7 @@ export default class PlainText extends Component { | |
} } | |
onFocus={ this.props.onFocus } // always assign onFocus as a props | |
onBlur={ this.props.onBlur } // always assign onBlur as a props | |
+ fontFamily={ 'serif' } | |
/> | |
); | |
} | |
diff --git a/packages/editor/src/components/post-title/index.native.js b/packages/editor/src/components/post-title/index.native.js | |
index 61148e0f4..9be1bc553 100644 | |
--- a/packages/editor/src/components/post-title/index.native.js | |
+++ b/packages/editor/src/components/post-title/index.native.js | |
@@ -61,8 +61,8 @@ class PostTitle extends Component { | |
onFocus={ this.onSelect } | |
placeholder={ decodedPlaceholder } | |
style={ style } | |
- value={ title }> | |
- </TextInput> | |
+ value={ title } | |
+ fontFamily={ 'serif' }/> | |
); | |
} | |
} | |
diff --git a/packages/editor/src/components/rich-text/index.native.js b/packages/editor/src/components/rich-text/index.native.js | |
index fd9d07447..534666c3c 100644 | |
--- a/packages/editor/src/components/rich-text/index.native.js | |
+++ b/packages/editor/src/components/rich-text/index.native.js | |
@@ -382,6 +382,7 @@ export class RichText extends Component { | |
isSelected={ this.props.isSelected } | |
blockType={ { tag: tagName } } | |
color={ 'black' } | |
+ fontFamily= { 'serif' } | |
maxImagesWidth={ 200 } | |
style={ style } | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/packages/editor/src/components/plain-text/index.native.js b/packages/editor/src/components/plain-text/index.native.js | |
index 35ffd2782..7a0e6643e 100644 | |
--- a/packages/editor/src/components/plain-text/index.native.js | |
+++ b/packages/editor/src/components/plain-text/index.native.js | |
@@ -47,6 +47,7 @@ export default class PlainText extends Component { | |
} } | |
onFocus={ this.props.onFocus } // always assign onFocus as a props | |
onBlur={ this.props.onBlur } // always assign onBlur as a props | |
+ fontFamily={ 'serif' } | |
/> | |
); | |
} | |
diff --git a/packages/editor/src/components/post-title/index.native.js b/packages/editor/src/components/post-title/index.native.js | |
index 61148e0f4..9be1bc553 100644 | |
--- a/packages/editor/src/components/post-title/index.native.js | |
+++ b/packages/editor/src/components/post-title/index.native.js | |
@@ -61,8 +61,8 @@ class PostTitle extends Component { | |
onFocus={ this.onSelect } | |
placeholder={ decodedPlaceholder } | |
style={ style } | |
- value={ title }> | |
- </TextInput> | |
+ value={ title } | |
+ fontFamily={ 'serif' }/> | |
); | |
} | |
} | |
diff --git a/packages/editor/src/components/rich-text/index.native.js b/packages/editor/src/components/rich-text/index.native.js | |
index fd9d07447..534666c3c 100644 | |
--- a/packages/editor/src/components/rich-text/index.native.js | |
+++ b/packages/editor/src/components/rich-text/index.native.js | |
@@ -382,6 +382,7 @@ export class RichText extends Component { | |
isSelected={ this.props.isSelected } | |
blockType={ { tag: tagName } } | |
color={ 'black' } | |
+ fontFamily= { 'serif' } | |
maxImagesWidth={ 200 } | |
style={ style } | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment