import { EditorCommand } from "./EditorCommand"; export interface EditorMenuBar { commands?: T; isActive?: any; getMarkAttrs?: (option: any) => void; focused?: boolean; focus?: () => void; } export interface BubbleMenu { isActive: boolean; left: number; bottom: number; } export interface EditorBubbleMenuBar extends EditorMenuBar { menu?: BubbleMenu; }