@textbus/editor
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
17 lines (16 loc) • 449 B
TypeScript
import { Injector } from '@tanbo/di';
import { Plugin } from '@textbus/core';
export declare class ContextMenu implements Plugin {
private eventFromSelf;
private subs;
private menuSubscriptions;
private submenuSubscriptions;
private menu;
private submenu;
setup(injector: Injector): void;
onDestroy(): void;
private static makeContextmenu;
private hide;
private show;
private static createMenuView;
}