Documentation

editor.setPreviewCssText(csstext)

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

Syntax

editor.setPreviewCssText(csstext)

Parameter

Type: String

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

Example usage

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