Skip to content

Commit

Permalink
fix: rowspan cell paste convert get wrong colId (#59)
Browse files Browse the repository at this point in the history
* fix: simple merged cell paste wrong colId

* fix: rowspan cell paste convert get wrong colId
  • Loading branch information
zzxming authored Jan 16, 2025
1 parent d5d6356 commit d8e924c
Show file tree
Hide file tree
Showing 4 changed files with 536 additions and 146 deletions.
12 changes: 12 additions & 0 deletions docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,4 +414,16 @@ quill2.setContents([
{ insert: '25' },
{ attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'fow0uajprzw', colId: 'y0epsy6odnm', rowspan: 1, colspan: 1 } }, insert: '\n' },
{ insert: '\n' },

// TODO: balance table loop
// { insert: '\n' },
// { insert: { 'table-up-col': { full: false, width: 583 } } },
// { insert: { 'table-up-col': { full: false, width: 583 } } },
// { attributes: { 'table-up-cell-inner': { rowspan: 1, colspan: 1 } }, insert: '\n' },
// { attributes: { 'table-up-cell-inner': { rowspan: 1, colspan: 1 } }, insert: '\n' },
// { attributes: { 'table-up-cell-inner': { rowspan: 1, colspan: 1 } }, insert: '\n' },
// { insert: 'blockquote' },
// { attributes: { 'blockquote': true, 'table-up-cell-inner': { rowspan: 1, colspan: 1 } }, insert: '\n\n' },
// { attributes: { 'table-up-cell-inner': { rowspan: 1, colspan: 1 } }, insert: '\n' },
// { insert: '\n' },
]);
Loading

0 comments on commit d8e924c

Please sign in to comment.