# AIEditorConfigSnapshot

typedef

A compact, serializable snapshot of the editor's feature capabilities, returned by [`AIEditorConfig#get()`](module_ai_aicore_aieditorconfig-AIEditorConfig.md#function-get).

It consists of:

* [Configurations of the built-in configurable features](module_ai_aicore_aieditorconfig-AIEditorConfigFeatureConfigs.md),
* [presence flags of the built-in features](module_ai_aicore_aieditorconfig-AIEditorConfigPresenceFlags.md) that expose no data-relevant configuration,
* [features registered by custom plugins](module_ai_aicore_aieditorconfig-AIEditorConfigCustomFeatures.md),
* information about the root and the editor version (see below).

<a id="properties"></a>

## Properties

<a id="member-editorVersion"></a>

### `editorVersion: string`

The version of CKEditor 5 the snapshot was taken from. Tells the agent which editor release its capabilities describe.

<a id="member-rootType"></a>

### `rootType: AIRootInfo`

A snapshot of the root the document relates to: whether it is an inline root and which element hosts it.

#### Value

`AIEditorConfigFeatureConfigs & AIEditorConfigPresenceFlags & AIEditorConfigCustomFeatures & object`

---

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