Take a look at our new Article and Redactor X editors.
This example shows how to change the enter/return behavior. The breakline mode allow to use br
tag instead of p
.
<!-- element -->
<textarea id="content"></textarea>
<!-- call -->
<script>
$R('#content', { breakline: true });
</script>