createDeleteAction = node => {
    return {
      type: `DELETE_NODE`,
      plugin,
      payload: node,
      // main node need to be owned by plugin that calls deleteNode
      // child nodes should skip ownership check
      isRecursiveChildrenDelete: node !== internalNode,
    }
  }
Delete a node
@param {object} node A node object. See the "createNode" action for more information about the node object details.
@example
deleteNode(node)