Editor Values Library
This library provides a common API for editor widget values manipulation.
Methods
(static) getValue($textarea) → {String}
Get Editor Value
Parameters:
Name | Type | Description |
---|---|---|
$textarea |
jQuery | Textarea selector from which the value will be returned. |
Returns:
Returns the editor value.
- Type
- String
(static) setValue($textarea, value)
Set Editor Value
Parameters:
Name | Type | Description |
---|---|---|
$textarea |
jQuery | Textarea selector to which the value will be set. |
value |
String | The new value of the editor. |