A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
editor: only collapse/expand outline list with LMB
Abdullah Atta90ef87794298
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.tsindex 6f3e26a0a..3a5356b45 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@@ -143,6 +143,7 @@ export const OutlineListItem = Node.create<ListItemOptions>({else li.classList.remove("nested");function onClick(e: MouseEvent | TouchEvent) {+ if (e instanceof MouseEvent && e.button !== 0) return;if (!(e.target instanceof HTMLParagraphElement)) return;if (!li.classList.contains("nested")) return;