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
9 lines (8 loc) • 509 B
TypeScript
import { HTMLEditor } from '../../../core/HTMLEditor';
export declare class TableOperations {
static addRow(table: HTMLElement, cell: HTMLElement, before?: boolean, editor?: HTMLEditor): HTMLElement;
static addColumn(table: HTMLElement, cell: HTMLElement, before?: boolean, editor?: HTMLEditor): HTMLElement[];
static deleteRow(table: HTMLElement, row: HTMLElement): void;
static deleteColumn(table: HTMLElement, columnIndex: number): void;
static deleteTable(table: HTMLElement): void;
}