# core/editor/utils/registerandinitializerootconfigattributes

module

<a id="functions">

## Functions

<a id="function-registerAndInitializeRootConfigAttributes">

### `registerAndInitializeRootConfigAttributes( editor ) → void` _(internal)_

Registers and initializes root attributes from the editor configuration:

* the attributes from [`config.root(s).<rootName>.modelAttributes`](module_core_editor_editorconfig-RootConfig.md#member-modelAttributes), and
* the [`description`](module_core_editor_editorconfig-RootConfig.md#member-description) and [`title`](module_core_editor_editorconfig-RootConfig.md#member-title) fields, stored as the `$description` and `$title` root attributes respectively.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-core/src/editor/utils/registerandinitializerootconfigattributes.ts#L29)

#### Parameters

* `editor: Editor`

#### Returns

* `void`

---

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