new ToastUIEditor(options)
ToastUI Editor
EXTENDS
- ToastUIEditorCore
PARAMETERS
Name Type Description options
Static Methods
factory(options)
Factory method for Editor
PARAMETERS
Name Type Description options
object
Option for initialize TUIEditor
RETURNS:
{object
} - ToastUIEditor or ToastUIEditorViewer
Instance Methods
destroy()
Destroy TUIEditor from document
insertToolbarItem(indexInfo, item)
add toolbar item
PARAMETERS
Name Type Description indexInfo
Object
group index and item index of the toolbar item
item
stringObject
toolbar item
removeToolbarItem(itemName)
Remove toolbar item
PARAMETERS
Name Type Description itemName
string
toolbar item name