Interface

ModelSchemaCompiledItemDefinition (engine/model)

@ckeditor/ckeditor5-engine/src/model/schema

interface

A simplified version of ModelSchemaItemDefinition after compilation by the schema. Rules fed to the schema by register and extend methods are defined in the ModelSchemaItemDefinition format. Later on, they are compiled to ModelSchemaCompiledItemDefinition 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>

  • allowChildren : Array<string>

  • allowIn : Array<string>

  • isBlock : boolean

  • isContent : boolean

  • isInline : boolean

  • isLimit : boolean

  • isObject : boolean

  • isSelectable : boolean

  • name : string