css() Since: 1.4.3
Gets the current inline CSS of the WYSIWYG editor.
Syntax
var css = instance.css();
Return
Type: string
Gets the current inline CSS of the WYSIWYG editor.
var css = instance.css();
Type: string
Sets the current inline CSS of the WYSIWYG editor.
Important: Changing the editor CSS can cause browser incompatibility issues.
instance.css(value);
css
Type: string
The CSS to add.
Type: sceditor
Change the default font colour:
var textarea = ...;
sceditor.instance(textarea).css('body { color: #ff0; }');