Placeholder text

Show placeholder text while the editor is empty.

Code

Pass placeholder in the constructor:

<textarea id="entry"></textarea>
const app = Redactor('#entry', {
    placeholder: 'Start writing your article…'
});

Or set it on the <textarea> host element:

<textarea id="entry" placeholder="Start writing your article…"></textarea>
const app = Redactor('#entry');