Div as default block

This example shows how to use <div> as the default text block tag.

Code

<div id="entry-div-markup"></div>
const app = Redactor('#entry-div-markup', {
    markup: 'div',
    content: '<div>New paragraphs will use <code>&lt;div&gt;</code>.</div><div>Press Enter to create another block.</div>'
});