CKEditor5.Context (ckeditor5_phoenix v1.16.1)
View SourceRepresents the CKEditor 5 context configuration.
Summary
Functions
Parses a map into a Context struct. Returns {:ok, %Context{}} if valid, {:error, reason} if invalid.
Parses a map into a Context struct. Returns %Context{} if valid, raises an error if invalid.
Defines the schema for a raw Context configuration map.
Types
@type t() :: %CKEditor5.Context{ config: map(), custom_translations: CKEditor5.CustomTranslations.t() | nil, watchdog: map() }