@atlaskit/editor-plugin-user-intent
Version:
UserIntent plugin for @atlaskit/editor-core
10 lines (9 loc) • 387 B
TypeScript
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
import type { UserIntent } from './types';
export declare const userIntentPluginKey: PluginKey<any>;
type UserIntentPluginState = {
currentUserIntent: UserIntent;
};
export declare const createPlugin: () => SafePlugin<UserIntentPluginState>;
export {};