title: How to reset Codemirror editor?
body: <p>I would like to reset all the contents of the Codemirror editor. Ideally, this should clear the textarea, remove all marks and clear the history.</p>
  
  <p>What's the best way to achieve this?</p>