Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: increased hit Area

Muhammad Ali3496e6bfa9ca
diff --git a/packages/editor/src/extensions/outline-list-item/outline-list-item.ts b/packages/editor/src/extensions/outline-list-item/outline-list-item.ts
index 0d270c65e..6f3e26a0a 100644
--- a/packages/editor/src/extensions/outline-list-item/outline-list-item.ts
+++ b/packages/editor/src/extensions/outline-list-item/outline-list-item.ts
@@ -154,7 +154,7 @@ export const OutlineListItem = Node.create<ListItemOptions>({
const clientY =
e instanceof MouseEvent ? e.clientY : e.touches[0].clientY;
- const hitArea = { width: 26, height: 24 };
+ const hitArea = { width: 40, height: 40 };
const selection = editor.state.selection;
const parent = findParentNode((node) => !!node.attrs.textDirection)(