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/
MIT License
148 stars 17 forks source link

🐛 [Bug]: 配置工具栏按钮 font,显示的字号名称错误 #92

Closed kagol closed 1 month ago

kagol commented 1 month ago

Version

latest

Link to minimal reproduction

工具栏配置:

const TOOLBAR_CONFIG = [
  [{ font: [
    'songti',
    'yahei',
    'kaiti',
    'heiti',
    'lishu',
    'mono',
    'arial',
    'arialblack',
    'comic',
    'impact',
    'times',
   ] }],
]

实际效果:

image

期望效果:

image

Step to reproduce

同上

What is expected

No response

What is actually happening

No response

What is your project name

Wiki

Any additional comments (optional)

No response