Real-time html editor
htmledit.squarefree.com
htmledit.squarefree.com
It could be a satire, though.
Which alternative(s) are you thinking of? From doing a quick Google search, http://www.htmlinstant.com seems a little nicer in that it includes some formatting buttons, but it isn't as fancy as what you described.
http://net.tutsplus.com/tutorials/html-css-techniques/how-to...
Now what would be really useful is if we built this live preview technique into SublimeText 2, maybe using the ST2 livereload plugin as a starting place:
I'm wondering what the use cases for this are? Learning HTML basics?
I think http://jsfiddle.net/ does this and a lot more.
This seems to be the relevant code (note that it calls update once every 150ms):
function update()
{
var textarea = window.editbox.document.f.ta;
var d = dynamicframe.document;
if (old != textarea.value) {
old = textarea.value;
d.open();
d.write(old);
if (old.replace(/[\r\n]/g,'') == defaultStuff.replace(/[\r\n]/g,''))
d.write(extraStuff);
d.close();
}
window.setTimeout(update, 150);
} setInterval(function(){$('div').html($('textarea').val())},150);
There you go, I'm releasing it under the WTFPL license.Would be really useful if I could plug a link into the top frame to debug HTML problems on live sites.