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

28 lines (27 loc) 709 B
import { Plugin } from '../../core/Plugin'; import { HTMLEditor } from '../../core/HTMLEditor'; export declare class MathPlugin implements Plugin { name: string; hotkeys: { keys: string; description: string; command: string; icon: string; }[]; private editor; private menu; private contextMenu; private currentResizer; private toolbarButton; private draggedElement; constructor(); initialize(editor: HTMLEditor): void; private handleDragStart; private handleDragOver; private handleDragEnd; private handleDrop; private addToolbarButton; private setupMathEvents; private insertMath; destroy(): void; }