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
name
property, - The
is*
properties, - The
allowIn
array, - The
allowChildren
array, - The
allowAttributes
array.
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 : boolean
module:engine/model/schema~SchemaCompiledItemDefinition#isBlock
-
isContent : boolean
module:engine/model/schema~SchemaCompiledItemDefinition#isContent
-
isInline : boolean
module:engine/model/schema~SchemaCompiledItemDefinition#isInline
-
isLimit : boolean
module:engine/model/schema~SchemaCompiledItemDefinition#isLimit
-
isObject : boolean
module:engine/model/schema~SchemaCompiledItemDefinition#isObject
-
isSelectable : boolean
module:engine/model/schema~SchemaCompiledItemDefinition#isSelectable
-
name : string
module: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.