title: TinyMCE show menu on focus
body: <p>I am tinyMCE in my project. </p>
  
  <p>I have two text area. I need to only show the controls for the active one.
  I had two options:</p>
  
  <ol>
  <li>Have a common control for both.</li>
  <li>Hide the controls of the inactive editor.</li>
  </ol>
  
  <p>I couldn't figure out the first option.
  I went with the second approach.</p>
  
  <p>Now I am able to trigger events when the editor in on focus. 
  I need help with removing the menu and tools from the editor when it goes out of focus.</p>
  
  <p>Here is the code as to how I am approaching the second option:</p>
  
  <pre><code>setup : function(ed) {
              ed.on("focusout", function() {
                  tinyMCE.activeEditor.execCommand('mceSetAttribute','toolbar','false');
             console.log(tinyMCE.activeEditor.execCommand('mceSetAttribute','toolbar','false'));
              });
              ed.on("focus", function() {
  
                  });
          }
  </code></pre>