MenuToggleBlockWrapCommand: ((node, attrs?) => any)

Type declaration

    • (node, attrs?): any
    • Parameters

      • node: NodeType

        The node to wrap the selection in.

      • Optional attrs: object

        Attributes for the node.

      Returns any