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

🐛 [Bug]: 为什么quill原本的粘贴图片的功能没有了呢? #41

Closed zttAsoiaf closed 1 week ago

zttAsoiaf commented 2 weeks ago

Version

最新版

Link to minimal reproduction

https://github.com/opentiny/fluent-editor

Step to reproduce

粘贴图片到富文本框

What is expected

可以显示图片

What is actually happening

无法显示图片

What is your project name

Any additional comments (optional)

No response

Janson1012 commented 2 weeks ago

有最小可复现demo吗

zttAsoiaf commented 2 weeks ago

Quill的功能 https://codepen.io/attoae/pen/WNBGjZp 这是Quill的demo https://quilljs.com/docs/quickstart 这个也可以,点击run code 就可以了。 直接截图粘贴就可以了

这个是fluent-editor,无法截图粘贴 https://opentiny.github.io/fluent-editor/docs/basic-usage

Janson1012 commented 2 weeks ago

Quill的功能 https://codepen.io/attoae/pen/WNBGjZp 这是Quill的demo https://quilljs.com/docs/quickstart 这个也可以,点击run code 就可以了。 直接截图粘贴就可以了

这个是fluent-editor,无法截图粘贴 https://opentiny.github.io/fluent-editor/docs/basic-usage

可以试试在初始化editor配置的时候把uploadOption里的imageUploadToServer改为true

zttAsoiaf commented 2 weeks ago

image 赞赞赞,果然可以了。 解决问题速度杠杠的。