Content setting

This example demonstrates how to define HTML content for Redactor using the 'content' setting.

Code

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

<!-- call -->
<script>
let app = Redactor('#entry', {
    content: `...your html...`
});
</script>