# `CKEditor5.Components.Context`
[🔗](https://github.com/Mati365/ckeditor5-phoenix/blob/v1.28.2/lib/components/context.ex#L1)

A component for rendering a CKEditor5 context.

# `render`

## Attributes

* `id` (`:string`) - The ID of the context to be used. Use it later in editor components to specify which context to use.If not specified, then a random ID will be generated.
* `context` (`:any`) (required) - The name or reference of the context to be used.
* `language` (`:string`) - The language code for the editor UI (e.g., 'en', 'pl', 'de', etc.). If not provided, will use the default "en" language. Defaults to `nil`.
* `content_language` (`:string`) - The content language code for the editor (e.g. 'en', 'pl', 'de', etc.). This is used to set the `lang` attribute on the editable area. If not provided, it will default to the same value as `language`. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block` - Optional content of the context. Every editor instance within block will use this context.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
