engine/model/schema
@ckeditor/ckeditor5-engine/src/model/schema
Filtering
Classes
-
The model's schema. It defines the allowed and disallowed structures of nodes as well as nodes' attributes. The schema is usually defined by the features and based on them, the editing framework and features make decisions on how to change and process the model.
-
A schema context — a list of ancestors of a given position in the document.
Type Definitions
-
A structure containing additional metadata describing the attribute.
-
A simplified version of
SchemaItemDefinition
after compilation by the schema. Rules fed to the schema byregister
andextend
methods are defined in theSchemaItemDefinition
format. Later on, they are compiled toSchemaCompiledItemDefinition
so when you use e.g. thegetDefinition
method you get the compiled version. -
The definition of a schema context.
-
An item of the schema context.
-
A definition of a schema item.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.