By default, Article creates paragraph markup. This can be changed to markup div by tags, in which pressing enter will create a br tag.

To do this, you need to apply these settings:

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    editor: {
        markup: 'text'
    addbarAdd: ['text'],
    addbarHide: ['paragraph'],
    format: ['div', 'h1', 'h2', 'h3', 'ul', 'ol']

Now in addbar and formatting popup will be shown the insert Text block, instead of Paragraph.

You need to wrap the text blocks in a div tag with the arx-text class when you run Article so that it can parse them correctly. For example, this:

<textarea id="entry">
    <div class="arx-text">...</div>
    <div class="arx-text">...</div>

The class of text blocks can be changed using the setting below.

classname #

Type: String

Default: arx-text

This setting sets the class by which Article defines the text block. You can change the class like this:

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    text: {
        classname: 'my-text'

Now all the div elements for which this class is specified in the content will be the editable text block.