# `CKEditor5.Preset.Parser`
[🔗](https://github.com/Mati365/ckeditor5-phoenix/blob/v1.28.2/lib/preset/parser.ex#L1)

Parses CKEditor5 preset configurations.
Ensures that the configuration adheres to the expected schema and constraints.

# `parse`

Parses and validates a plain map into a CKEditor5 preset configuration.
Returns {:ok, %Preset{}} if valid, {:error, errors} if invalid.

# `parse!`

Parses and validates a plain map into a CKEditor5 preset configuration.
Returns %Preset{} if valid, raises an error if invalid.

# `s`

Defines the schema for a preset configuration map.

---

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