@milkdown/plugin-block
Version:
The block plugin of [milkdown](https://milkdown.dev/).
8 lines • 351 B
TypeScript
import type { EditorView } from '@milkdown/prose/view';
import type { FilterNodes } from '../block-config';
import type { ActiveNode } from '../types';
export declare function selectRootNodeByDom(view: EditorView, coords: {
x: number;
y: number;
}, filterNodes: FilterNodes): ActiveNode | null;
//# sourceMappingURL=select-node-by-dom.d.ts.map