formats.mdx 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ---
  2. title: Formats
  3. ---
  4. import FullEditor from '../../src/components/standalone/FullEditor';
  5. Quill supports a number of formats, both in UI controls and API calls.
  6. By default all formats are enabled and allowed to exist within a Quill editor and can be configured with the [formats](/docs/configuration/#formats) option. This is separate from adding a control in the [Toolbar](/docs/modules/toolbar/). For example, you can configure Quill to allow bolded content to be pasted into an editor that has no bold button in the toolbar.
  7. <FullEditor />
  8. <a className="standalone-link" href="/standalone/full/">
  9. Standalone
  10. </a>
  11. #### Inline
  12. - Background Color - `background`
  13. - Bold - `bold`
  14. - Color - `color`
  15. - Font - `font`
  16. - Inline Code - `code`
  17. - Italic - `italic`
  18. - Link - `link`
  19. - Size - `size`
  20. - Strikethrough - `strike`
  21. - Superscript/Subscript - `script`
  22. - Underline - `underline`
  23. #### Block
  24. - Blockquote - `blockquote`
  25. - Header - `header`
  26. - Indent - `indent`
  27. - List - `list`
  28. - Text Alignment - `align`
  29. - Text Direction - `direction`
  30. - Code Block - `code-block`
  31. #### Embeds
  32. - Formula - `formula` (requires [KaTex](https://khan.github.io/KaTeX/))
  33. - Image - `image`
  34. - Video - `video`