title: Set TinyMCE Editor Param after Initialized
body: <p>I am trying to set the <code>readonly</code> parameter in tinyMCE to <code>true</code> after tinyMCE has been initalized. I am trying to use this with wordpress to disable the postEditor if the post has already been published. I found some sources claiming that you can call:</p>
  
  <pre><code>tinyMCE.activeEditor.execCommand(
      'mceSetAttribute',
      false,
      {name:'readonly',value:true}
  );
  </code></pre>
  
  <p>but I have been having no luck with that and have not found a solution.</p>