title: How to hide toolbar and menubar in tinymce6 editor?
body: <h2><strong>In tinymce5 version we are using.</strong></h2>
  <pre><code> var tinyEditor;    
      tinymce.init(
      {
          selector: &quot;textarea&quot;,
          plugins: [
              &quot;advlist&quot;, &quot;anchor&quot;, &quot;autolink&quot;, &quot;charmap&quot;, &quot;code&quot;, &quot;fullscreen&quot;, 
              &quot;help&quot;, &quot;image&quot;, &quot;insertdatetime&quot;, &quot;link&quot;, &quot;lists&quot;, &quot;media&quot;, 
              &quot;preview&quot;, &quot;searchreplace&quot;, &quot;table&quot;, &quot;visualblocks&quot;, 
          ],
          toolbar: &quot;undo redo | styles | bold italic underline strikethrough,
          setup : function(ed){
            tinyEditor = ed;
          }
      });
      
      Later on demand we hide menubar,statusbar  as ..    
      
  tinyEditor.settings.menubar = false;    
  tinyEditor.settings.statusbar = false; 
  </code></pre>
  <p>In Tinymce 6 version .settings attribute has been removed.</p>