AddRootOptions
typedef
Additional options available when adding a root.
Properties
-
attributes : RootAttributes | undefined
module:editor-multi-root/multirooteditor~AddRootOptions#attributes
Initial attributes for the root.
-
data : string | undefined
module:editor-multi-root/multirooteditor~AddRootOptions#data
Initial data for the root.
-
elementName : string | undefined
module:editor-multi-root/multirooteditor~AddRootOptions#elementName
Element name for the root element in the model. It can be used to set different schema rules for different roots.
-
isUndoable : boolean | undefined
module:editor-multi-root/multirooteditor~AddRootOptions#isUndoable
Whether creating the root can be undone (using the undo feature) or not.