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) 499 B
import { Command } from '../../../core/commands/Command'; import { HTMLEditor } from '../../../core/HTMLEditor'; export interface DeleteBlockCommandData { block: HTMLElement; } export declare class DeleteBlockCommand implements Command { name: string; private block; private parentNode; private nextSibling; private deletedBlock; constructor(_editor: HTMLEditor); setBlock(block: HTMLElement): void; execute(): void; undo(): void; private isValidBlock; }