new TextEditor()
Methods
-
decreaseTextSize()
-
Decrease text size in editor.
-
increaseTextSize()
-
Increase text size in editor.
-
setTextStyle(cssStyles)
-
Set display style of text area in editor.
Parameters:
Name Type Description cssStyles
Hash A hash of css styles, e.g. {'fontSize': '19px', 'fontFamily': 'arial'}.
Events
-
valueSet
-
Invoked when the color value is selected. Event param of it has field: {value, colorClassName}.