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
25 lines (24 loc) • 633 B
TypeScript
import { Plugin } from '../../core/Plugin';
import { HTMLEditor } from '../../core/HTMLEditor';
export declare class TablePlugin implements Plugin {
name: string;
hotkeys: {
keys: string;
description: string;
command: string;
icon: string;
}[];
private editor;
private popup;
private contextMenu;
private currentResizer;
constructor();
initialize(editor: HTMLEditor): void;
private addToolbarButton;
private setupTableEvents;
private handleContextMenu;
private handleClick;
private handleKeydown;
private insertTable;
destroy(): void;
}