title: tinymce uncaught TypeError: Theme is not a constructor(…)
body: <p>My following react component show following error with tinymce and did not mount in dom.</p>
  
  <p><strong>theme.js:1 Uncaught SyntaxError: Unexpected token &lt;</strong></p>
  
  <p><strong>tinymce.js:38447 Uncaught TypeError: Theme is not a constructor(…)</strong></p>
  
  <pre><code>import React from "react";
  import tinymce from "tinymce";
  
  const ParagraphDetails = React.createClass({
      componentWillMount(){
          tinymce.init({
              selector: ".tinymce-editor",
              themes: "modern",
          })
      },
      render(){
          return &lt;div&gt;
              &lt;label&gt;About
                  &lt;textarea rows="3" className="tinymce-editor"&gt;&lt;/textarea&gt;
              &lt;/label&gt;
          &lt;/div&gt;
      }
  });
  </code></pre>
  
  <p>What is going wrong?</p>