import { TipTapEditor } from "./TipTapEditor"; import { EditorMenuBar } from "./EditorMenuBar"; import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models"; export interface ToolbarProperties { menubar?: EditorMenuBar; editor?: TipTapEditor; content?: string; onContentChanged?: (content: string) => void; onBlur?: () => void; editorId?: GuidValue; } export interface PastedToolbarProperties extends ToolbarProperties { pastedContext: PastedContext; } export interface PastedContext { text: string; html: string; from: number; to?: number; }