JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://unpkg.com/grapesjs"></script>
<link rel="stylesheet" href="https://unpkg.com/grapesjs/dist/css/grapes.min.css">
<div id="gjs">
  <h1>Hello World Component!</h1>
</div>

JavaScript

const editor = grapesjs.init({

  container: '#gjs',

  
});

editor.Panels.removeButton('options', 'preview')