Reputation: 1130
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?
Upvotes: 1
Views: 1171
Reputation: 2620
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());
}
Upvotes: 6