RichTextEditor Demo
Home Pricing

## 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:

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