UNPKG

communication-react-19

Version:

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

19 lines 655 B
import type { PluginEvent, EditorPlugin, IEditor } from 'roosterjs-content-model-types'; /** * KeyboardInputPlugin is a plugin for handling keyboard events in the editor. */ export declare class KeyboardInputPlugin implements EditorPlugin { private editor; private disposer; onKeyDown?: ((event: KeyboardEvent) => void) | null; onCompositionUpdate?: (() => void) | null; getName(): string; /** * Initialize this plugin * @param editor The editor instance */ initialize(editor: IEditor): void; dispose(): void; onPluginEvent(event: PluginEvent): void; } //# sourceMappingURL=KeyboardInputPlugin.d.ts.map