SUNEDITOR.init(options) → {Object}
Returns the create function with preset options.
If the options overlap, the options of the 'create' function take precedence. {create}
If the options overlap, the options of the 'create' function take precedence. {create}
Parameters:
Name | Type | Description |
---|---|---|
options |
Json | User options |
SUNEDITOR.create(idOrElement, options) → {Object}
Create the suneditor {Functions, Core, Util}
Parameters:
Name | Type | Description |
---|---|---|
idOrElement |
String | Object | textarea Id or textarea element |
options |
Json | User options |
Plugins
Name | Type |
---|---|
blockquote | command |
image | dialog |
link | |
video | |
audio | |
math | |
align | submenu |
font | |
fontColor | |
fontSize | |
formatBlock | |
hiliteColor | |
horizontalRule | |
lineHeight | |
list | |
paragraphStyle | |
table | |
template | |
textStyle | |
imageGallery | fileBrowser |