opentiny / fluent-editor

Fluent Editor is a rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It is powerful and out-of-the-box. Fluent Editor 是一个基于 Quill 2.0 的富文本编辑器,在 Quill 基础上扩展了丰富的模块和格式,功能强大、开箱即用。
https://opentiny.github.io/fluent-editor/
61 stars 8 forks source link

✨ [Feature]: head是否支持修改为中文场景 #57

Closed walkerleee closed 6 days ago

walkerleee commented 1 week ago

What problem does this feature solve

image

能不能支持修改为中文场景

What does the proposed API look like

toolbar 的配置 [{ header: [1, 2, 3, 4, 5, 6, false] }]

What is your project name

·

kagol commented 6 days ago

@walkerleee 可以通过CSS自己控制。

示例代码:

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before {
    content: "标题1";
}