on-codemerge
Version:
A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product
19 lines (18 loc) • 746 B
TypeScript
import { HTMLEditor } from '../../../core/HTMLEditor';
import { InsertLazyTableCommandOptions } from '../commands/InsertLazyTableCommand';
import { ImportTableFromHTMLCommandOptions } from '../commands/ImportTableFromHTMLCommand';
export interface LazyTableModalOptions extends Partial<InsertLazyTableCommandOptions> {
isEdit?: boolean;
isFillMode?: boolean;
onSave?: (options: InsertLazyTableCommandOptions | ImportTableFromHTMLCommandOptions) => void;
}
export declare class LazyTableModal {
private popup;
private editor;
private range;
private options;
constructor(editor: HTMLEditor, range: Range, options?: LazyTableModalOptions);
show(): void;
private onImportTypeChange;
private insertTable;
}