@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
15 lines (14 loc) • 448 B
TypeScript
import { EditorState, Transaction } from '../../prosemirror';
export interface Command {
(state: EditorState<any>, dispatch?: (tr: Transaction) => void): boolean;
}
declare var _default: {
createTable: () => Command;
goToNextCell: (direction: number) => Command;
cut: () => Command;
copy: () => Command;
paste: () => Command;
moveCursorBackward: () => Command;
emptyCells: () => Command;
};
export default _default;