UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

7 lines (6 loc) 335 B
import { EditorView, Plugin, PluginKey } from '../../../prosemirror'; import { EditorPlugin } from '../../types'; export declare const pluginKey: PluginKey; export declare function createPlugin(onChange?: (editorView: EditorView) => void): Plugin | undefined; declare const onChangePlugin: EditorPlugin; export default onChangePlugin;