UNPKG

medium-proeditor

Version:

A powerful & customizable Medium-style rich text editor

10 lines 356 B
import type { FocusPosition } from '../types'; import type { Editor } from '../Editor'; import type { EditorView } from 'prosemirror-view'; export declare const focus: (position?: FocusPosition, options?: { scrollIntoView?: boolean; }) => ({ editor, view }: { editor: Editor; view: EditorView; }) => boolean; //# sourceMappingURL=focus.d.ts.map