Breakline

This example shows how to change the enter key behavior. The breakline mode allow to use br tag instead of p.

Code

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

<!-- call -->
<script>
let app = Redactor('#entry', {
    breakline: true
});
</script>