Data attribute start

This example shows how to start Redactor with data attribute.

Code

<!-- element -->
<textarea id="entry" data-redactor>...</textarea>

<!-- with settings -->
<textarea id="entry" data-redactor data-focus="true" data-image-upload="/your-path-to-upload/">...</textarea>