SchemaCompiledItemDefinition (engine/model)
@ckeditor/ckeditor5-engine/src/model/schema
A simplified version of SchemaItemDefinition after
compilation by the schema.
Rules fed to the schema by register
and extend methods are defined in the
SchemaItemDefinition format.
Later on, they are compiled to SchemaCompiledItemDefinition so when you use e.g.
the getDefinition method you get the compiled version.
The compiled version contains only the following properties:
- The
nameproperty, - The
is*properties, - The
allowInarray, - The
allowChildrenarray, - The
allowAttributesarray.
Filtering
Properties
-
allowAttributes : Array<string>module:engine/model/schema~SchemaCompiledItemDefinition#allowAttributes -
allowChildren : Array<string>module:engine/model/schema~SchemaCompiledItemDefinition#allowChildren -
allowIn : Array<string>module:engine/model/schema~SchemaCompiledItemDefinition#allowIn -
isBlock : booleanmodule:engine/model/schema~SchemaCompiledItemDefinition#isBlock -
isContent : booleanmodule:engine/model/schema~SchemaCompiledItemDefinition#isContent -
isInline : booleanmodule:engine/model/schema~SchemaCompiledItemDefinition#isInline -
isLimit : booleanmodule:engine/model/schema~SchemaCompiledItemDefinition#isLimit -
isObject : booleanmodule:engine/model/schema~SchemaCompiledItemDefinition#isObject -
isSelectable : booleanmodule:engine/model/schema~SchemaCompiledItemDefinition#isSelectable -
name : stringmodule:engine/model/schema~SchemaCompiledItemDefinition#name
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features. We appreciate your feedback to help us ensure its accuracy and completeness.