title: How to add an option for js code in grapesjs?
body: <p><a href="https://i.stack.imgur.com/The5D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/The5D.png" alt="enter image description here"></a></p>
  
  <p>Now I want my JS code also to be exported? How is this done?
  I have seen that in the block manager if we edit the content as follows</p>
  
  <pre><code>editor.BlockManager.add("sample input field", {
    label: "input-field",
    category: "sample",
    content: {
              script:"my script"
             }
  });
  
  </code></pre>
  
  <p>the script is embedded in my HTML file but if I edit it as follows</p>
  
  <pre><code>content:` some HTML code
  &lt;script type="text/javascript" myscript&gt;&lt;/script&gt;`
  </code></pre>
  
  <p>I do not get the script content in my HTML file....how to get the script embedded in the content?
  Why is it not being displayed in the extracted HTML file?</p>