packages/netlify-cms-widget-markdown/src/serializers/remarkSlate.js
function createText(value, data) {
  const node = { object: 'text', data };
  const leaves = isArray(value) ? value : [{ text: value }];
  return { ...node, leaves };
}
function createText(value, data) {
  const node = { object: 'text', data };
  const leaves = isArray(value) ? value : [{ text: value }];
  return { ...node, leaves };
}
function createText ( value , data ) { const node = { object : 'text' , data } ; const leaves = isArray ( value ) ? value : [ { text : value } ] ; return { ... node , leaves } ; }
Create a Slate Raw text node.
Create a Slate Raw text node .