bettertend/frontend/node_modules/@tiptap/extension-table/dist/TableView.d.ts

16 lines
804 B
TypeScript

import { Node as ProseMirrorNode } from '@tiptap/pm/model';
import { NodeView, ViewMutationRecord } from '@tiptap/pm/view';
export declare function updateColumns(node: ProseMirrorNode, colgroup: HTMLTableColElement, // <colgroup> has the same prototype as <col>
table: HTMLTableElement, cellMinWidth: number, overrideCol?: number, overrideValue?: number): void;
export declare class TableView implements NodeView {
node: ProseMirrorNode;
cellMinWidth: number;
dom: HTMLDivElement;
table: HTMLTableElement;
colgroup: HTMLTableColElement;
contentDOM: HTMLTableSectionElement;
constructor(node: ProseMirrorNode, cellMinWidth: number);
update(node: ProseMirrorNode): boolean;
ignoreMutation(mutation: ViewMutationRecord): boolean;
}
//# sourceMappingURL=TableView.d.ts.map