Add selectNodeForeward to type definition.

This commit is contained in:
Jordan Humphreys
2017-09-03 14:06:53 -07:00
parent 3768e0a87b
commit 62bbba2a88

View File

@@ -12,6 +12,7 @@ import { EditorView } from 'prosemirror-view';
export function deleteSelection(state: EditorState, dispatch?: (tr: Transaction) => void): boolean;
export function joinBackward(state: EditorState, dispatch?: (tr: Transaction) => void, view?: EditorView): boolean;
export function selectNodeBackward(state: EditorState, dispatch?: (tr: Transaction) => void, view?: EditorView): boolean;
export function selectNodeForward(state: EditorState, dispatch?: (tr: Transaction) => void, view?: EditorView): boolean;
export function joinForward(state: EditorState, dispatch?: (tr: Transaction) => void, view?: EditorView): boolean;
export function joinUp(state: EditorState, dispatch?: (tr: Transaction) => void): boolean;
export function joinDown(state: EditorState, dispatch?: (tr: Transaction) => void): boolean;