defaultInlineFormats top-level constant

List<InlineDeltaFormat> const defaultInlineFormats

The standard inline text formats that are parsed from Quill Deltas, e.g., bold, italics, underline, links.

Implementation

const defaultInlineFormats = [
  // Named inline attributes (no parsing).
  NamedInlineDeltaFormat("bold", boldAttribution),
  NamedInlineDeltaFormat("italic", italicsAttribution),
  NamedInlineDeltaFormat("underline", underlineAttribution),
  NamedInlineDeltaFormat("strike", strikethroughAttribution),
  NamedInlineDeltaFormat("code", codeAttribution),

  // Inline attributes with parsed values.
  ColorDeltaFormat(),
  BackgroundColorDeltaFormat(),
  ScriptDeltaFormat(),
  FontFamilyDeltaFormat(),
  SizeDeltaFormat(),
  LinkDeltaFormat(),
];