Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Type Alias MenuToggleBlockWrapCommand

    MenuToggleBlockWrapCommand: (
        node: NodeType,
        attrs?: object,
    ) => ProseMirrorCommand

    Type Declaration

      • (node: NodeType, attrs?: object): ProseMirrorCommand
      • Parameters

        • node: NodeType

          The node to wrap the selection in.

        • Optionalattrs: object

          Attributes for the node.

        Returns ProseMirrorCommand