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.
2 parents e5ddf8c + 229b5a4 commit a27606fCopy full SHA for a27606f
lib/components/TinyMCE.js
@@ -1,6 +1,7 @@
1
import React from 'react';
2
import { findDOMNode } from 'react-dom';
3
import isEqual from 'lodash/lang/isEqual';
4
+import clone from 'lodash/lang/clone';
5
import uuid from '../helpers/uuid';
6
import ucFirst from '../helpers/ucFirst';
7
@@ -48,7 +49,8 @@ const TinyMCE = React.createClass({
48
49
},
50
51
componentDidMount() {
- this._init(this.props.config);
52
+ const config = clone(this.props.config);
53
+ this._init(config);
54
55
56
componentWillReceiveProps(nextProps) {
0 commit comments