Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-html5-editor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
page to test editor html cleanup and serialization
[peach-html5-editor.git]
/
editor_tests.coffee
1
in_el = document.getElementById 'in'
2
out_el = document.getElementById 'out'
3
button = document.getElementById 'button'
4
button.onclick = ->
5
editor = wheic.wysiwyg in_el
6
out_el.value = wheic.dom_to_html editor.dom
7
return false
8
button.value="Cleanup"
9
button.removeAttribute 'disabled'