# AddRootOptions

typedef

Additional options available when adding a root.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-editor-multi-root/src/multirooteditor.ts#L1397)

<a id="properties">

## Properties

<a id="member-attributes">

### `attributes?: EditorRootAttributes`

Initial attributes for the root.

<a id="member-data">

### `data?: string`

Initial data for the root.

<a id="member-elementName">

### `elementName?: string`

Element name for the root element in the model. It can be used to set different schema rules for different roots.

<a id="member-isUndoable">

### `isUndoable?: boolean`

Whether creating the root can be undone (using the undo feature) or not.

#### Value

`object`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
