Skip to content

Commit 8499232

Browse files
authored
feat: add more items from Cursor and Selection extensions to root export (#73)
1 parent 991c731 commit 8499232

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/extensions/behavior/Cursor/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import {dropCursor} from 'prosemirror-dropcursor';
22
import type {ExtensionAuto} from '../../../core';
33
import {gapCursor} from './gapcursor';
44

5+
export {GapCursorSelection, isGapCursorSelection} from './GapCursorSelection';
6+
57
export type CursorOptions = {
68
dropOptions?: Parameters<typeof dropCursor>[0];
79
};

src/extensions/behavior/Selection/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export {
99
findFakeParaPosClosestToPos,
1010
} from './commands';
1111

12+
export type {Direction as SelectionDirection} from './commands';
13+
1214
export const Selection: ExtensionAuto = (builder) => {
1315
builder.addPlugin(selection);
1416
};

0 commit comments

Comments
 (0)