@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.
35 lines (34 loc) • 1.28 kB
TypeScript
import { default as TableColumnTool } from './modules/table-column-tool';
import { default as TableScrollBar } from './modules/table-scroll-bar';
import { default as TableSelector } from './modules/table-selector';
declare const Module: unknown;
declare class BetterTable extends Module {
static keyboardBindings: any;
isComposition: boolean;
quill: any;
table: any;
modulesContainer: any;
tableSelection: any;
subscriber: any;
tableOperationMenu: any;
columnTool: TableColumnTool;
tableScrollBar: TableScrollBar;
tableSelector: TableSelector;
isTableSelectorVisible: boolean;
tableSelectorWrapper: HTMLDivElement;
static register(): void;
constructor(quill: any, options: any);
initTableSelector(): void;
tableSelectorWrapperCreator(): HTMLDivElement;
handleMouseDown(evt: any, quill: any): void;
handleKeyDown(evt: any, quill: any): void;
handleCompositionstart(quill: any): void;
handleCompositionend(quill: any): void;
handleTableSelectorHover(): void;
handleTableSelectorMouseOut(): void;
getTable(range?: any): any[];
insertTable(rows: any, columns: any): void;
showTableTools(table: any, quill: any): void;
hideTableTools(): void;
}
export default BetterTable;