1
votes

I'm looking for a web based wysiwyg editor (like tinyMCE)
That will output the content of the editor to an html div (much like the ditor on this very site).

Is there any existing (open-source) product that can or can be made to do this?

1
Can't you somehow utilize tinyMCE's onKeyUp event?Mikhail

1 Answers

6
votes

Use any editor, watch after it's textarea, detect change, get content, and display it in your page.

$(".tinymce textarea").change(function(){
    $("#preview").html($(".tinymce textarea").val());
}