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
16 lines (15 loc) • 434 B
TypeScript
import { HTMLEditor } from '../../../core/HTMLEditor.ts';
export declare class BlockContextMenu {
private editor;
private contextMenu;
private activeBlock;
constructor(editor: HTMLEditor);
private handleAction;
private splitBlock;
show(block: HTMLElement, x: number, y: number): void;
hide(): void;
/**
* Уничтожение контекстного меню
*/
destroy(): void;
}