Skip to content

Commit 1eeb0c0

Browse files
authored
fix(Deflist): use internal isNodeSelection helper (#112)
1 parent 431ea40 commit 1eeb0c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extensions/markdown/Deflist/commands.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type {Command} from 'prosemirror-state';
2-
import {findParentNode, isNodeSelection, replaceParentNodeOfType} from 'prosemirror-utils';
2+
import {findParentNode, replaceParentNodeOfType} from 'prosemirror-utils';
3+
import {isNodeSelection} from '../../../utils/selection';
34
import {descType, listType, termType} from './utils';
45

56
export const wrapToDeflist: Command = (state, dispatch) => {

0 commit comments

Comments
 (0)