APIDemo

Rich text

Rich text can contain text marks like bold, italics or underline. Content can be structured using headings. It can even contain other types as blocks that can be moved around freely.

richText('My rich text field', {
  blocks: schema({
    CodeBlock: CodeBlockSchema,
    ImageBlock: ImageBlockSchema
  })
})

Types

/**
Optional settings to configure a rich text field */