KothingEditor.init(options) → {create function}
Returns the create function with preset options.
If the options overlap, the options of the 'create' function take precedence.
If the options overlap, the options of the 'create' function take precedence.
Parameters:
Name | Type | Description |
---|---|---|
options |
Json | User options |
KothingEditor.create(idOrElement, options) → {user functions}
Create the kothing-editor
Parameters:
Name | Type | Description |
---|---|---|
idOrElement |
String | Object | textarea Id or textarea element |
options |
Json | User options |