From 9b5a0f10036c177e8146bff55e9b41e68e3f8fe1 Mon Sep 17 00:00:00 2001 From: Pelle Tunell Date: Thu, 14 Sep 2017 17:28:15 +0200 Subject: [PATCH] Add placeholder --- lib/components/TinyMCE.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/components/TinyMCE.js b/lib/components/TinyMCE.js index 738b103..fbe49ad 100644 --- a/lib/components/TinyMCE.js +++ b/lib/components/TinyMCE.js @@ -37,7 +37,8 @@ const TinyMCE = React.createClass({ content: React.PropTypes.string, id: React.PropTypes.string, className: React.PropTypes.string, - name: React.PropTypes.string + name: React.PropTypes.string, + placeholder: React.PropTypes.string, }, getDefaultProps() { @@ -96,6 +97,7 @@ const TinyMCE = React.createClass({ className={this.props.className} name={this.props.name} defaultValue={this.props.content} + placeholder={this.props.placeholder} /> ); },