in_el = document.getElementById 'in'
-out_el = document.getElementById 'out'
button = document.getElementById 'button'
-button.onclick = ->
- editor = wheic.wysiwyg in_el
- out_el.value = wheic.dom_to_html editor.dom
- return false
-button.value="Cleanup"
-button.removeAttribute 'disabled'
+button.parentNode.removeChild button
+window.editor = peach_html5_editor in_el