# RootEditableOptions

interface

Additional options for the created editable element.

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

<a id="properties">

## Properties

<a id="member-element">

### `element?: string | HTMLElement | ViewRootElementDefinition`

A description of the editable root element to create, or an existing DOM element to use.

Accepted forms:

* A tag name string (e.g. `'h1'`).
* A [`ViewRootElementDefinition`](module_core_editor_editorconfig-ViewRootElementDefinition.md) object.
* An existing `HTMLElement`. The element is used as-is — `createEditable()` returns the same element instead of creating a new one, so callers do not need to append it to the DOM.

When omitted, a default `<div>` is created.

**Note**: an `HTMLElement` value is local to this client. It cannot be replicated through real-time collaboration, so it is not persisted with the root. Other clients calling `createEditable()` for the same root receive a fresh element built from the canonical descriptor (or the default `<div>`), unless they pass their own `HTMLElement` as well.

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

<a id="member-label">

### `label?: string`

The accessible label text describing the editable to the assistive technologies.

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

<a id="member-placeholder">

### `placeholder?: string`

Placeholder for the editable element. If not set, placeholder value from the [editor configuration](module_core_editor_editorconfig-RootConfig.md#member-placeholder) will be used (if it was provided).

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

---

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