# `CKEditor5.Components.Editor.AttributeValidator`
[🔗](https://github.com/Mati365/ckeditor5-phoenix/blob/v1.28.2/lib/components/editor/assigns/attribute_validator.ex#L1)

Validates attributes for different editor types in the Editor component.

# `validate_for_editor_type`

Validates attributes based on the editor type.

---

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