Module for better table in Quill, more useful features are supported.
Updates:
Replace TableCellLine.tagName from DIV
to P
.
Using DIV
to implement TableCellLine led a copy/paste issue: #50 . There are many more similar situations. When the user pastes the DIV tag into the editor, the DIV will be treated as a TableCellLine.
Add handlers for ArrowUp/ArrowDown. Unite the cursor behavior:
Fix issues:
#5: Check if the cursor is in the table cells, if true, insertTable don't work.
#21: The unexpected tr
was removed after deleting selected rows.
Quill-better-table version 1.2.0 updated:
fix feature copy-paste table bugs and incorrect initializing the editor with html which uses regular table tags. These issues were caused by brocken changes in v1.1.9(support h tag in table cell).Now copy-paste table and initializing editor with table tags should work well.
I achieved a feature that inserting header tags in table cell in v1.1.9, but this feature overwrite quill built-in header blot. Maybe it will do harm to users' webapp. So I cancelled this feature in this version. It is my fault, sorry about that. Maybe inserting headers/ul/ol in table cell will achieved in another repo, and give users a marked notice to know what should pay attention to achive these break features.
version 1.1.9 updates:
Plan to:
version 1.1.5 updates: