slab / quill

Quill is a modern WYSIWYG editor built for compatibility and extensibility
https://quilljs.com
BSD 3-Clause "New" or "Revised" License
43.32k stars 3.36k forks source link

Table functionality is not working in Quill editor #4417

Open nitinlavania15 opened 1 week ago

nitinlavania15 commented 1 week ago

Hi @jhchen,

Greetings!

I am currently using Quill version 2.0.2 in my Angular application and encountering some challenges with table functionality:

I am successfully able to copy an Excel table and paste it into the Quill editor using the quill-better-table module. However, the colors from the Excel table do not appear after pasting it into the Quill editor.

Additionally, other templates are distorting when I use the following code: this.quillEditor.setContents(this.quillEditor?.clipboard?.convertHTML(this.data?.selectedMail?.bodyHTML))

Could you please provide guidance on how to achieve a more seamless integration?

Thank you.

douglasmiranda commented 1 week ago

Quill and Tables are a long story...

and many others if you search "table" related issues.

Today I also had issues with tables and Quill, rowspan and colspan are not preserved when you copy and paste into quill. And again quill-better-table sounds like the solution.