SchemaCompiledItemDefinition (engine/model)
@ckeditor/ckeditor5-engine/src/model/schema
interface
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.