diff --git a/demos/contenteditable.html b/demos/contenteditable.html index d0af314..f9bb1d1 100644 --- a/demos/contenteditable.html +++ b/demos/contenteditable.html @@ -38,4 +38,12 @@

Go ahead, edit away!

editable.innerHTML = localStorage.getItem('contenteditable'); } - \ No newline at end of file +(function fix(){ + var a = editable.parentElement.innerHTML; + editable.parentElement.innerHTML+='bob'; + document.getElementById('editable').parentElement.innerHTML = a; + editable = document.getElementById('editable'); + document.getElementById('clear').onclick=function(){location.reload()}; +})() + +