How to set content to bootstrap-wysiwyg editor dynamically with jQuery. I tried
$('.editor').html() and $('.editor').val()
Seems to like none of them are accepting
How to set content to bootstrap-wysiwyg editor dynamically with jQuery. I tried
$('.editor').html() and $('.editor').val()
Seems to like none of them are accepting
Try this,
$("#editor").html("I am a <b>bold</b> text.");
wysiwyg editor will show as content as expected as below
"I am a bold text"