> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# EditorContext

> **EditorContext** = `object`

Defined in: packages/editor/src/editor/editor-snapshot.ts:11

## Properties

### containers

> **containers**: [`Containers`](/api/editor/type-aliases/containers/)

Defined in: packages/editor/src/editor/editor-snapshot.ts:36

Map of registered editable containers keyed by their bare
block-object `_type` (e.g. `'callout'`, `'table'`).

Each entry is a [RegisteredContainer](/api/editor/type-aliases/registeredcontainer/) carrying `type`,
the array `field` that holds the container's editable children,
and (when present) the nested positional `of` registrations
consulted by [resolveContainerAt](/api/editor/functions/resolvecontainerat/). The render callback is
engine-internal and not surfaced here.

Only top-level registrations appear as flat entries. A `_type`
registered only inside a parent's `of` is reachable through that
parent's `of`, not as a top-level entry. Use
`resolveContainerAt(containers, value, path)` for position-aware
resolution that handles both top-level and positional entries.

:::caution[Alpha]
This API should not be used in production and may be trimmed from a public release.
:::

***

### converters

> **converters**: `Converter`[]

Defined in: packages/editor/src/editor/editor-snapshot.ts:12

***

### keyGenerator()

> **keyGenerator**: () => `string`

Defined in: packages/editor/src/editor/editor-snapshot.ts:13

#### Returns

`string`

***

### readOnly

> **readOnly**: `boolean`

Defined in: packages/editor/src/editor/editor-snapshot.ts:14

***

### schema

> **schema**: [`EditorSchema`](/api/editor/type-aliases/editorschema/)

Defined in: packages/editor/src/editor/editor-snapshot.ts:15

***

### selection

> **selection**: [`EditorSelection`](/api/editor/type-aliases/editorselection/)

Defined in: packages/editor/src/editor/editor-snapshot.ts:16

***

### value

> **value**: [`PortableTextBlock`](/api/editor/type-aliases/portabletextblock/)[]

Defined in: packages/editor/src/editor/editor-snapshot.ts:17