@atlaskit/editor-plugin-date
Version:
Date plugin for @atlaskit/editor-core
9 lines (8 loc) • 495 B
TypeScript
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
import type { PMPluginFactoryParams } from '@atlaskit/editor-common/types';
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
import type { DatePluginState } from './types';
declare const getPluginState: (state: EditorState) => DatePluginState;
declare const createPlugin: (pmPluginFactoryParams: PMPluginFactoryParams) => SafePlugin<DatePluginState>;
export { getPluginState };
export default createPlugin;