UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

8 lines (7 loc) 457 B
import { EditorView, EditorState } from '../../prosemirror'; export declare const nodeLen: (node: Node) => number; export declare const isIgnorable: (dom: any) => boolean; export declare const isBlockNode: (dom: any) => boolean; export declare const domIndex: (node: Node | null) => number | undefined; export declare const removeIgnoredNodesLeft: (view: EditorView) => void; export declare const hasCode: (state: EditorState<any>, pos: number) => boolean;