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

12 lines (11 loc) 372 B
import { HTMLEditor } from '../../../core/HTMLEditor.ts'; export declare class CodeBlockContextMenu { private onEdit; private contextMenu; private activeBlock; constructor(editor: HTMLEditor, onEdit: (block: HTMLElement) => void); private handleAction; show(block: HTMLElement, x: number, y: number): void; hide(): void; destroy(): void; }