@atlaskit/editor-plugin-find-replace
Version:
find replace plugin for @atlaskit/editor-core
14 lines (13 loc) • 882 B
TypeScript
import type { Command } from '@atlaskit/editor-common/types';
import type { Decoration, EditorView } from '@atlaskit/editor-prosemirror/view';
export declare const activate: () => Command;
export declare const find: (editorView: EditorView, containerElement: HTMLElement | null, keyword?: string) => Command;
export declare const findNext: (editorView: EditorView) => Command;
export declare const findPrevious: (editorView: EditorView) => Command;
export declare const replace: (replaceText: string) => Command;
export declare const replaceAll: (replaceText: string) => Command;
export declare const addDecorations: (decorations: Decoration[]) => Command;
export declare const removeDecorations: (decorations: Decoration[]) => Command;
export declare const cancelSearch: () => Command;
export declare const blur: () => Command;
export declare const toggleMatchCase: () => Command;