@cairn214/fluent-editor
Version:
A rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It's powerful and out-of-the-box.
38 lines (37 loc) • 973 B
TypeScript
export default class TableSelection {
table: any;
quill: any;
modulesContainer: any;
parent: any;
boundary: any;
selectedTds: any[];
dragging: boolean;
preSelectedTable: any;
oldRootScrollTop: any;
selectingHandler: any;
tdEditHandler: any;
tdResizeHandler: any;
endTd: any;
startTd: any;
editTd: any;
left: any;
bottom: any;
top: any;
right: any;
constructor(table: any, quill: any, dom: any);
handleQuillRootScroll(): void;
isEditorHasScrollBar(): void;
helpLinesInitial(): void;
mouseDownHandler(e: any): void;
drawSelection(self: any, end: any): void;
setTdEditable(e: any): void;
resizeTd(): void;
resetTd(e: any): void;
correctBoundary(): void;
computeSelectedTds(): any;
repositionHelpLines(): void;
refreshHelpLinesPosition(): void;
destroy(): any;
setSelection(startRect: any, endRect: any): void;
clearSelection(): void;
}