Options from data attributes

Pass options through data-redactor-* attributes on the host element.

Code

<textarea
    id="entry"
    data-redactor-placeholder="Start writing…"
    data-redactor-min-height="120px"
></textarea>
const app = Redactor('#entry');