Skip to content

Instantly share code, notes, and snippets.

@daniloercoli
Created January 22, 2019 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniloercoli/11f917e4cf1ee046875edbc843d9e85a to your computer and use it in GitHub Desktop.
Save daniloercoli/11f917e4cf1ee046875edbc843d9e85a to your computer and use it in GitHub Desktop.
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 }
/>
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