Documentation

Content

Type: String

Default: false

Article takes content from the specified element in a typical launch, for example, this way:

// element
<textarea id="entry">
    <p>My content</p>
</textarea>

// call
ArticleEditor('#entry', {
    css: '/your-article-dist-path/'
});

You can specify the content as a setting, like this:

// element
<textarea id="entry"></textarea>

// call
ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    content: '<p>My content</p>'
});

See a live example of how Article starts with content in the setting.