quill-table-up 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +23 -23
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/unit/table-clipboard.test.ts +446 -108
- package/src/__tests__/unit/table-hack.test.ts +402 -1
- package/src/modules/table-clipboard/table-clipboard.ts +128 -32
- package/src/modules/table-selection.ts +22 -2
- package/src/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
- package/src/table-up.ts +42 -10
package/dist/index.d.ts
CHANGED
|
@@ -444,6 +444,7 @@ declare class TableClipboard extends Clipboard {
|
|
|
444
444
|
constructor(quill: Quill, options: Partial<ClipboardOptions>);
|
|
445
445
|
normalizeHTML(doc: Document): void;
|
|
446
446
|
getStyleBackgroundColor(node: Node, delta: Delta$1): void;
|
|
447
|
+
getTargetFull(): boolean;
|
|
447
448
|
matchTable(node: Node, delta: Delta$1): Delta$1;
|
|
448
449
|
matchTbody(node: Node, delta: Delta$1): Delta$1;
|
|
449
450
|
matchThead(node: Node, delta: Delta$1): Delta$1;
|
|
@@ -910,6 +911,7 @@ declare class TableSelection extends TableDomSelector {
|
|
|
910
911
|
setSelectionData(selection: Selection, selectionData: SelectionData): void;
|
|
911
912
|
selectionDirectionUp(selection: SelectionData): boolean;
|
|
912
913
|
resolveOptions(options: Partial<TableSelectionOptions>): TableSelectionOptions;
|
|
914
|
+
getSelectedTdsFormat(): Record<string, any>;
|
|
913
915
|
selectionChangeHandler: () => void;
|
|
914
916
|
helpLinesInitial(): HTMLDivElement;
|
|
915
917
|
computeSelectedTds(startPoint: Position, endPoint: Position): TableCellInnerFormat[];
|