mindmup / bootstrap-wysiwyg

Tiny bootstrap-compatible WISWYG rich text editor
MIT License
5.56k stars 844 forks source link

How to set dynamic value in wysiwyg editor #144

Open Nareshdev opened 10 years ago

Nareshdev commented 10 years ago

How we can set dynamic value in wysiwyg editor like as we have $('#SomeEditor').val() to get the value of the Editor Quick response highly appreciated.

steveathon commented 10 years ago

@Nareshdev do you mean get the contents of the div in HTML format?

$('#editor').cleanHtml());

Works a treat.