Formats
Quill支持多种格式,包括UI控件和API调用。
默认情况下,所有格式都已启用并允许存在于Quill编辑器中,并且可以使用formats选项进行配置。 这与在工具栏中添加控件是分开的。 例如,您可以配置Quill以允许将粗体内容粘贴到工具栏中没有粗体按钮的编辑器中。
原文这里是一个比较全的quill编辑器视图,我们可以点这个链接跳转过去。
Quill的格式主要是以下三种:
Inline
Background Color -
backgroundBold -
boldColor -
colorFont -
fontInline Code -
codeItalic -
italicLink -
linkSize -
sizeStrikethrough -
strikeSuperscript/Subscript -
scriptUnderline -
underline
Block
Blockquote -
blockquoteHeader -
headerIndent -
indentList -
listText Alignment -
alignText Direction -
directionCode Block -
code-block
Embeds
Formula -
formula(requires KaTex)Image -
imageVideo -
video
