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
40 lines (39 loc) • 1.2 kB
TypeScript
import { Plugin } from '../../core/Plugin';
import { HTMLEditor } from '../../core/HTMLEditor';
export { EditLazyTableCommand } from './commands/EditLazyTableCommand';
export { ImportTableFromHTMLCommand } from './commands/ImportTableFromHTMLCommand';
export { LazyTableModal } from './components/LazyTableModal';
export declare class TablePlugin implements Plugin {
name: string;
hotkeys: {
keys: string;
description: string;
command: string;
icon: string;
}[];
private editor;
private popup;
private contextMenu;
private tableEditor;
private cellFormatter;
private exportService;
private currentResizer;
private selectedCells;
private toolbarButton;
constructor();
initialize(editor: HTMLEditor): void;
private addToolbarButton;
private setupTableEvents;
private setupKeyboardShortcuts;
private handleContextMenu;
private handleClick;
private handleMouseDown;
private handleMouseOver;
private handleMouseOut;
private handleKeydown;
private handleTableNavigation;
private addToSelection;
private clearSelection;
private insertTable;
destroy(): void;
}