UNPKG

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

18 lines (17 loc) 605 B
import { Command } from '../../../core/commands/Command'; import { HTMLEditor } from '../../../core/HTMLEditor'; export type InsertDirection = 'left' | 'right' | 'top' | 'bottom'; export declare class InsertCellCommand implements Command { private direction; private targetCell; constructor(_editor: HTMLEditor, targetCell: HTMLElement, direction: InsertDirection); execute(): void; private insertCellLeft; private insertCellRight; private insertCellTop; private insertCellBottom; private findTable; private updateCellIndexes; undo(): void; redo(): void; }