Skip to content

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

chore: add note for why drag/drop doesn't work with contentEditable=false

thecodrrfabd0c01b0de
diff --git a/packages/editor/src/extensions/task-item/component.tsx b/packages/editor/src/extensions/task-item/component.tsx
index 4b36682ed..29b0b0789 100644
--- a/packages/editor/src/extensions/task-item/component.tsx
+++ b/packages/editor/src/extensions/task-item/component.tsx
@@ -43,7 +43,9 @@ export function TaskItemComponent(
<Icon
className="dragHandle"
draggable="true"
- //contentEditable={false}
+ // NOTE: Turning this off somehow makes drag/drop stop working
+ // properly on touch devices.
+ // contentEditable={false}
data-drag-handle
path={Icons.dragHandle}
sx={{