Skip to content

Commit 26f3442

Browse files
fix: add taskItem dependency
1 parent ab02542 commit 26f3442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/editor/src/core/hooks/use-editor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export const useEditor = (props: CustomEditorProps) => {
143143
}
144144
}
145145
}
146-
}, [editor?.getJSON(), editor?.isActive("listItem"), hasMigrated]);
146+
}, [editor?.getJSON(), editor?.isActive("listItem"), editor?.isActive("taskItem"), hasMigrated]);
147147

148148
// Update the ref whenever savedSelection changes
149149
useEffect(() => {

0 commit comments

Comments
 (0)