Documentation / Settings

Placeholder

Type: Boolean, String

Default: false

The usual way to specify a placeholder through an attribute at the element for which Redactor is run:

<textarea id="entry" placeholder="Type something..."></textarea>

Placeholder can be specified using the setting:

// element
<textarea id="entry"></textarea>

// call
Redactor('#entry', {
    placeholder: 'Type something...'
});