We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8a964 commit b879f37Copy full SHA for b879f37
lib/components/TinyMCE.js
@@ -35,7 +35,8 @@ const TinyMCE = React.createClass({
35
propTypes: {
36
config: React.PropTypes.object,
37
content: React.PropTypes.string,
38
- id: React.PropTypes.string
+ id: React.PropTypes.string,
39
+ className: React.PropTypes.string
40
},
41
42
getDefaultProps() {
@@ -79,13 +80,15 @@ const TinyMCE = React.createClass({
79
80
return (
81
<div
82
id={this.id}
83
+ className={this.props.className}
84
dangerouslySetInnerHTML={ {__html: this.props.content} }
85
/>
86
);
87
} else {
88
89
<textarea
90
91
92
defaultValue={this.props.content}
93
94
0 commit comments