@umbraco-cms/backoffice
    Preparing search index...

    Interface InsertDefaultBlockOptions

    interface InsertDefaultBlockOptions {
        attrs?: Record<string, any>;
        content?: ProseMirrorNode | Content | Fragment;
        pos?: number | ResolvedPos;
        updateSelection?: boolean;
    }
    Index
    attrs?: Record<string, any>

    Attributes to apply to the inserted node. Only attributes that match the node's schema will be applied.

    content?: ProseMirrorNode | Content | Fragment

    Content to insert into the block. Accepts string (plain text or HTML), ProseMirror node, or Fragment.

    pos?: number | ResolvedPos

    The position to insert the block at. Accepts a number or a resolved ProseMirror position. Defaults to the current caret position.

    updateSelection?: boolean

    Whether to update the selection after inserting the content.

    true