Using Textbox.io - Removing Editors

HTML

<script src="https://s3.amazonaws.com/ephox-static-ephox-com/jsfiddle/textboxio/textboxio.js"></script>
<div id="editableDiv">
    Div content to be edited.
</div>
 <textarea class="form-control" placeholder="Enter Developer Name" type="text" data-db="Name_TH" id="nameTH"></textarea>
<button id="removeButton">Remove Editor</button>

CSS

#editableDiv,#nameTH {
    margin:10px 0;
    height: 200px;
}

JavaScript

// Create a Textbox.io Editor for the matched element(s)
textboxio.replace('#editableDiv');
textboxio.replace('#nameTH');

document.getElementById('removeButton').onclick = function() {
    // Remove Textbox.io Editor and update the div contents
    divEditor.restore();
};