code: function createBlock(type, nodes, props = {}) {
    if (!isArray(nodes)) {
      props = nodes;
      nodes = undefined;
    }
  
    const node = { object: 'block', type, ...props };
    return addNodes(node, nodes);
  }
docs: Create a Slate Inline node.