<button id="destroy-editor-button">Destroy editor</button> <div id="editor"> <h2>Heading 1</h2> <p>Paragraph</p> </div>