UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

8 lines (7 loc) 362 B
import { EditorState, EditorView, Transaction } from '../../prosemirror'; export interface Command { (state: EditorState<any>, dispatch?: (tr: Transaction) => void): boolean; } export declare const moveRight: () => Command; export declare const moveLeft: (view: EditorView) => Command; export declare const removeIgnoredNodes: (view: EditorView) => Command;