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]: 目前在同一个页面显示多个Editor,Editor的位置会重叠。 #111

Open cywforce opened 3 weeks ago

cywforce commented 3 weeks ago

Version

v3.21.0

Link to minimal reproduction

微信截图_20241030213408

Step to reproduce

在同一个页面显示多个Editor,Editor的位置会重叠。

What is expected

希望能够在同一个页面显示多个Editor,并且显示位置正常。

What is actually happening

No response

What is your project name

测试

Any additional comments (optional)

No response

zzxming commented 3 weeks ago

可以提供复现链接吗,比如使用stackblitz

你是不是挂载到同一个 dom 上了,挂载不同 dom 是正常显示的

  editor = new FluentEditor('#editor1', {
    theme: 'snow',
  })

  editor2 = new FluentEditor('#editor2', {
    theme: 'snow',
  })