Documentation

Plaintext

markup #

Type: Boolean

Default: false

This setting turn on the plain text markup in the editor with a line break (br) tag.

ArticleEditor('#entry', {
    plaintext: {
        markup: true
    }
});

The plain text markup will only work inside the text blocks in the content.

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', {
    plaintext: {
        classname: 'my-text'
    }
});

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