企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 格式 <!-- Quill supports a number of formats, both in UI controls and API calls. --> Quill支持多种格式用于UI控制和API调用。 <!-- 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. --> 默认所有格式都是有效的,并且在Quill编辑器中显示,也可以通过[格式](配置configuration.md)进行自定义设置。 这个不同于在[工具栏](modules/工具栏toolbar.md)添加控制按钮。例如,你可以设置Quill让加粗字体的内容粘贴到编辑器但工具栏中可以不存在加粗字体按钮。 ![](https://img.kancloud.cn/6b/5d/6b5d2eb910ff1e3e9a9a9f73838c65ef_876x426.png) <a class="standalone-link" href="https://codepen.io/liuwave/pen/bGNbrpW">点击查看</a> ## Inline - 背景颜色 - `background` - 加粗字体 - `bold` - 字体颜色 - `color` - 字体 - `font` - 内联代码 - `code` - 斜体 - `italic` - 链接 - `link` - 字体大小 - `size` - 删除线 - `strike` - 上标/下标 - `script` - 下划线 - `underline` ## 块 - 引用 - `blockquote` - 标题 - `header` - 缩进 - `indent` - 列表 - `list` - 文本对齐方式 - `align` - 文本方向 - `direction` - 代码块 - `code-block` ## 嵌入 - 公式 - `formula` - 图片 - `image` - 视频 - `video`