Typedef

AddRootOptions (editor-multi-root)

@ckeditor/ckeditor5-editor-multi-root/src/multirooteditor

typedefobject

Additional options available when adding a root.

Filtering

Properties

  • attributes : RootAttributes | undefined

    Initial attributes for the root.

  • data : string | undefined

    Initial data for the root.

  • elementName : string | undefined

    Element name for the root element in the model. It can be used to set different schema rules for different roots.

  • isUndoable : boolean | undefined

    Whether creating the root can be undone (using the undo feature) or not.