Documentation

Content

Type: String

Default: false

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

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

// call
RedactorX('#entry');

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

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

// call
RedactorX('#entry', {
    content: '<p>My content</p>'
});

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