HTDutchy
HTDutchy

Reputation: 1130

Web wysiwyg editor with live output to html div

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

Answers (1)

Alytrem
Alytrem

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

Related Questions