UNPKG

@atlaskit/editor-plugin-focus

Version:

Focus plugin for @atlaskit/editor-core

6 lines (5 loc) 288 B
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin'; import { PluginKey } from '@atlaskit/editor-prosemirror/state'; import type { FocusState } from '../types'; export declare const key: PluginKey<FocusState>; export declare const createPlugin: () => SafePlugin<FocusState>;