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
30 lines (29 loc) • 798 B
TypeScript
import { Plugin } from '../../core/Plugin';
import { HTMLEditor } from '../../core/HTMLEditor';
export declare class CalendarPlugin implements Plugin {
name: string;
hotkeys: {
keys: string;
description: string;
command: string;
icon: string;
}[];
private editor;
private menu;
private manager;
private toolbarButton;
private contextMenu;
constructor();
initialize(editor: HTMLEditor): void;
private addToolbarButton;
private setupEventListeners;
private handleCalendarClick;
private handleContextMenu;
private handleContextMenuAction;
private showCalendarMenu;
private insertCalendar;
private refreshCalendar;
private showExportDialog;
private showImportDialog;
destroy(): void;
}