• A rich-text container, used as the body of a text property. Strings become paragraphs. Passing the children as an array takes an options bag placing the block on the page.

    Parameters

    Returns TextFieldBlock

    const bio = textField('A magic dog, twenty-eight, who can stretch into anything.')
    const sidebar = textField(['Two centuries on the throne.'], { layout: 'wrapLeft', width: 30 })
  • Parameters

    Returns TextFieldBlock