Documentation / Settings

Wrapper

template #

Type: String

Default: string

The default wrapper template is:

<div></div>

With this setting, you can change the wrapper block template, for example:

Redactor('#entry', {
    wrapper: {
        template: '<div class="my-container"></div>'
    }
});

disable #

You can completely disable the wrapper adding, just set it false.

Redactor('#entry', {
    wrapper: false
});