UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

10 lines (9 loc) 369 B
import { EditorState, Schema, Plugin, PluginKey } from '../../prosemirror'; export declare type StateChangeHandler = (state: RuleState) => any; export declare class RuleState { private state; constructor(state: EditorState<any>); } export declare const stateKey: PluginKey; declare const plugins: (schema: Schema<any, any>) => Plugin[]; export default plugins;