--- layout: v0.20 permalink: /0.20/docs/formats/ title: Formats - Quill v0.20 ---

Formats

Quill currently supports a number of formats. Enabling a format:

  • - Allows the Quill Editor to recognize the format
  • - Allows API calls using the format
  • - Registers associated hotkeys

Note that enabling a format is distinct from adding a control in the toolbar. By default all supported formats are enabled.

  • Bold - bold
  • Italic - italic
  • Strikethrough - strike
  • Underline - underline
  • Font - font
  • Size - size
  • Color - color
  • Background Color - background
  • Image - image
  • Link - link
  • Bullet - bullet
  • List - list
  • Text Alignment - align

Configuring

To customize the supported formats, pass in a whitelist array of formats you wish to support.

var editor = new Quill('#editor', {
  formats: ['bold', 'italic', 'color']
});