Documentation

editor.setContentCssText(csstext)

This method is used for setting inline CSS text that will be used by the editable area.

Syntax

editor.setContentCssText(csstext)

Parameter

Type: String

The CSS text that will be used by the editable area.

Example usage

var editor1 = new RichTextEditor("#div_editor1");      
editor1.setContentCssText("body{background-color:gray");