Skip to content

Commit

Permalink
Adds placeholder coloring support for mobile's rich text component. (#…
Browse files Browse the repository at this point in the history
…13738)

* Adds placeholder support for mobile's rich text component.

* Removes an unnecessary line of code.
  • Loading branch information
diegoreymendez authored and youknowriad committed Mar 6, 2019
1 parent 0e85716 commit afc910c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/editor/src/components/rich-text/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ export class RichText extends Component {
}
text={ { text: html, eventCount: this.lastEventCount } }
placeholder={ this.props.placeholder }
placeholderTextColor={ this.props.placeholderTextColor || 'lightgrey' }
onChange={ this.onChange }
onFocus={ this.props.onFocus }
onBlur={ this.props.onBlur }
Expand Down

0 comments on commit afc910c

Please sign in to comment.