Documentation

Styles

styles

Type: Boolean

Default: true

Turn off the setting and Redactor will not apply its own styles (from redactor.css file) to the content. The content will be displayed with the CSS style of the page.

$R('#content', {
    styles: false
});

stylesClass

Type: String

Default: redactor-styles

This setting allows you to change the style class of Redactor's content:

$R('#content', {
    stylesClass: 'my-own-class'
});