You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for offering this good gem!
I had a difficulty to set dynamic content within the editor. It is not simple like $('#textarea').html("updated content"). Finally I found a great solution from: https://www.codementor.io/tips/0643978211/update-wysihtml5-editor-content-dynamically-using-jquery
That is:
$('#textarea-id').data("wysihtml5").editor.setValue('new content');
Is it possible to put it in the readme doc? I believe it will help many developers. Thank you!
The text was updated successfully, but these errors were encountered:
Thank you for offering this good gem!
I had a difficulty to set dynamic content within the editor. It is not simple like $('#textarea').html("updated content"). Finally I found a great solution from: https://www.codementor.io/tips/0643978211/update-wysihtml5-editor-content-dynamically-using-jquery
That is:
$('#textarea-id').data("wysihtml5").editor.setValue('new content');
Is it possible to put it in the readme doc? I believe it will help many developers. Thank you!
The text was updated successfully, but these errors were encountered: