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
14 lines (13 loc) • 442 B
TypeScript
import { HTMLEditor } from '../../../core/HTMLEditor.ts';
export declare class CommentMenu {
private editor;
private popup;
private callback;
private textarea;
private deleteButton;
constructor(editor: HTMLEditor);
private createContent;
private handleSubmit;
show(callback: (content: string, action: 'save' | 'delete') => void, initialContent?: string, showDelete?: boolean): void;
destroy(): void;
}