Keep a reference of Simditor instance and call the methods:
# init Simditor
editor = new Simditor
textarea: $('#editor')
# call setValue to set content
editor.setValue 'hello world'
An Easy and Fast WYSIWYG Editor
Keep a reference of Simditor instance and call the methods:
# init Simditor
editor = new Simditor
textarea: $('#editor')
# call setValue to set content
editor.setValue 'hello world'
Set the body content of Simditor. Simditor would format the new content automatically.
Get the body content of Simditor in HTML format.
Synchronize the body content of Simditor to the value attribute of the textarea. Return the HTML content of the editor.
Focus the textarea and trigger 'focus' event.
Blur the textarea and trigger 'blur' event.
Hide the popover dialog such as image editing and link dialog.
Destroy Simditor, unbind all event and remove all HTML elements created by Simditor.