diff --git a/lib/components/TinyMCE.js b/lib/components/TinyMCE.js index d75491b..3fa7972 100644 --- a/lib/components/TinyMCE.js +++ b/lib/components/TinyMCE.js @@ -74,6 +74,10 @@ var TinyMCE = React.createClass({ } var self = this; + + //hide the textarea that is me so that no one sees it + self.getDOMNode().style.hidden = "hidden"; + config.selector = '#' + this.id; config.setup = function (editor) { EVENTS.forEach(function (event, index) { @@ -94,6 +98,9 @@ var TinyMCE = React.createClass({ }; tinymce.init(config); + + self.getDOMNode().style.hidden = ""; + this._isInit = true; },