title: TinyMCE as component in EmberJS
body: <p>I manged to integrate TinyMCE as EmberJS component which is not a hard job at all. I am thinking of passing the setup parameters of TinyMCE as an array within the template that renders the TinyMCE component. like the following</p>
  
  <p>{{tinymce-editor config="[menu: false]" }}</p>
  
  <p>or something like that in which I pass the whole array to the component which is in it role setups tiny mce like this </p>
  
  <pre><code>didInsertElement: function(){
  var textarea = "#" + this.get("elementId");
  var config= this.get('config');
  if( config === undefined){
      config = {
          selector: textarea ,
      }
  }
      tinymce.init(config);
  </code></pre>
  
  <p>I can't figure out how to do so. I would appreciate tips on that.</p>
  
  <p>Here is the whole code I wrote</p>
  
  <p><a href="http://jsbin.com/IcEZumU/1/" rel="nofollow">http://jsbin.com/IcEZumU/1/</a></p>
  
  <p>Best,
  Mohammad      </p>