UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

30 lines 887 B
import type { EditorPlugin, IEditor, PluginEvent } from 'roosterjs-content-model-types'; /** * An update mode to indicate when the content update happens */ export declare enum UpdateEvent { Init = "Init", Dispose = "Dispose", ContentChanged = "ContentChanged", UserInput = "UserInput", Blur = "Blur" } /** * A plugin to handle content update */ export declare class UpdateContentPlugin implements EditorPlugin { private editor; private disposer; onUpdate: ((event: UpdateEvent, shouldRemoveInlineImages?: boolean) => void) | null; getName(): string; /** * Initialize this plugin * @param editor The editor instance */ initialize(editor: IEditor): void; dispose(): void; onPluginEvent(event: PluginEvent): void; private onCompositionUpdate; private onBlur; } //# sourceMappingURL=UpdateContentPlugin.d.ts.map