Lines Matching refs:innerHTML
26 body.innerHTML = body.innerHTML.replace(/\n/g,"");
57 CodePress.actions.history[CodePress.actions.next()] = editor.innerHTML;
98 if(!body.innerHTML) return body;
99 if(body.innerHTML=="<br>") body.innerHTML = "<pre> </pre>";
100 else body.innerHTML = "<pre>"+body.innerHTML+"</pre>";
110 o = editor.innerHTML;
121 …editor.innerHTML = this.actions.history[this.actions.next()] = (flag=='scroll') ? x : o.split(z).j…
234 if(!document.getElementsByTagName('pre')[0] || editor.innerHTML == '')
236 var code = editor.innerHTML;
253 editor.innerHTML = code;
255 document.getElementsByTagName('body')[0].innerHTML = '';
265 if(editor.innerHTML.indexOf(cc)==-1){
266 if(editor.innerHTML != " ")
268 this.history[this.pos] = editor.innerHTML;
272 editor.innerHTML = this.history[this.pos];
273 if(editor.innerHTML.indexOf(cc)>-1) editor.innerHTML+=cc;
281 editor.innerHTML = this.history[this.pos];