packages/netlify-cms-widget-markdown/src/serializers/remarkSlate.js
function createBlock(type, nodes, props = {}) {
  if (!isArray(nodes)) {
    props = nodes;
    nodes = undefined;
  }

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

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