bootstrap-wysihtml5 icon indicating copy to clipboard operation
bootstrap-wysihtml5 copied to clipboard

Change Editor value after initialization

Open unees15 opened this issue 12 years ago • 3 comments

Can any one show me how can i change the editor value after initialization ? i tried a lot of things but no one works !!!

unees15 avatar Feb 11 '13 18:02 unees15

    $('#id_of_editor').data("wysihtml5").editor.setValue('<p>Som html goes here</p>');

dorgan avatar Feb 11 '13 18:02 dorgan

Thanks bro! you nailed it!

techibert avatar May 12 '15 03:05 techibert

Thanks bro! you nailed it!

techibert avatar May 12 '15 03:05 techibert