logo

/github|v3.1.0

Class

new ToastUIEditor(options)

ToastUI Editor

EXTENDS
  • ToastUIEditorCore
PARAMETERS
NameTypeDescription

options

Static Methods

factory(options)

Factory method for Editor

PARAMETERS
NameTypeDescription

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
NameTypeDescription

indexInfo

Object

group index and item index of the toolbar item

item

stringObject

toolbar item

removeToolbarItem(itemName)

Remove toolbar item

PARAMETERS
NameTypeDescription

itemName

string

toolbar item name

Resizable