UNPKG

@atlaskit/editor-plugin-expand

Version:

Expand plugin for @atlaskit/editor-core

9 lines 482 B
import { pluginFactory } from '@atlaskit/editor-common/utils'; // eslint-disable-next-line @typescript-eslint/consistent-type-imports import { PluginKey } from '@atlaskit/editor-prosemirror/state'; import reducer from '../reducer'; export var pluginKey = new PluginKey('expandPlugin'); var dest = pluginFactory(pluginKey, reducer); export var createPluginState = dest.createPluginState; export var createCommand = dest.createCommand; export var getPluginState = dest.getPluginState;