12345678910111213141516171819202122232425262728293031 |
- import { Selection, Plugin } from 'prosemirror-state';
- import { ResolvedPos, Node, Slice } from 'prosemirror-model';
- import { Mappable } from 'prosemirror-transform';
- declare class GapCursor extends Selection {
-
- constructor($pos: ResolvedPos);
- map(doc: Node, mapping: Mappable): Selection;
- content(): Slice;
- eq(other: Selection): boolean;
- toJSON(): any;
- }
- declare function gapCursor(): Plugin;
- export { GapCursor, gapCursor };
|