Overview

Richtext Schema

s.richtext(options)

Rich text with configurable formatting options

Methods:
.validate: method

Custom validation function

Example:
Example
s.richtext({
  style: {
    bold: true,
    italic: true,
    lineThrough: true
  },
  block: {
    p: true,
    h1: true,
    h2: true,
    ul: true,
    ol: true
  },
  inline: {
    a: true,
    img: true
  }
})