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
15 lines (14 loc) • 437 B
TypeScript
import { HTMLEditor } from '../../../core/HTMLEditor.ts';
import { MathMenu } from './MathMenu';
export declare class MathContextMenu {
private mathMenu;
private contextMenu;
private activeMath;
constructor(editor: HTMLEditor, mathMenu: MathMenu);
private handleAlign;
private handleEdit;
private handleDelete;
show(math: HTMLElement, x: number, y: number): void;
hide(): void;
destroy(): void;
}