How to use insertHTML or insert html in bootstrap-wysiwyg? -


this question similar this one.

i'm using bootstrap-wysiwyg , want insert html #editor div. html want insert should intrpreted browser after inserting format it. example when insert:

<b>some</b> text 

i see word bold , not surrounded "b" tags. guess should use inserthtml found on site: rich-text_editing_in_mozilla. unfortunately did't find simple example how use it.

i ask simple example $("#editor").html("some text") in jquery.


Comments