<div id="entry-insert-html"></div>
const app = Redactor('#entry-insert-html', { content: '<p>Place the caret here.</p>' }); app.insertHtml('<p><strong>Inserted block</strong></p>', { caret: 'end' });