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: update patches
Abdullah Atta4884c27a9a60
diff --git a/packages/editor/patches/@tiptap+core+2.0.0-beta.218.patch b/packages/editor/patches/@tiptap+core+2.0.0-beta.220.patchsimilarity index 88%rename from packages/editor/patches/@tiptap+core+2.0.0-beta.218.patchrename to packages/editor/patches/@tiptap+core+2.0.0-beta.220.patchindex 174bef9da..b42e2e574 100644--- a/packages/editor/patches/@tiptap+core+2.0.0-beta.218.patch+++ b/packages/editor/patches/@tiptap+core+2.0.0-beta.220.patch@@ -1,8 +1,8 @@diff --git a/node_modules/@tiptap/core/dist/index.js b/node_modules/@tiptap/core/dist/index.js-index 5f413ac..1ccdb49 100644+index 163e352..8cd7ec6 100644--- a/node_modules/@tiptap/core/dist/index.js+++ b/node_modules/@tiptap/core/dist/index.js-@@ -3093,8 +3093,7 @@ const Keymap = Extension.create({+@@ -3129,8 +3129,7 @@ const Keymap = Extension.create({new Plugin({key: new PluginKey('clearDocument'),appendTransaction: (transactions, oldState, newState) => {@@ -12,20 +12,18 @@ index 5f413ac..1ccdb49 100644if (!docChanges) {return;}-@@ -3102,10 +3101,14 @@ const Keymap = Extension.create({+@@ -3138,10 +3137,12 @@ const Keymap = Extension.create({const allFrom = Selection.atStart(oldState.doc).from;const allEnd = Selection.atEnd(oldState.doc).to;const allWasSelected = from === allFrom && to === allEnd;- const isEmpty = newState.doc.textBetween(0, newState.doc.content.size, ' ', ' ').length === 0;- if (empty || !allWasSelected || !isEmpty) {-++ if (empty || !allWasSelected) {return;}-++ const isEmpty = newState.doc.textBetween(0, newState.doc.content.size, ' ', ' ').length === 0;+ if (!isEmpty) return;-+++const tr = newState.tr;const state = createChainableState({state: newState,diff --git a/packages/editor/patches/@tiptap+extension-link+2.0.0-beta.218.patch b/packages/editor/patches/@tiptap+extension-link+2.0.0-beta.220.patchsimilarity index 94%rename from packages/editor/patches/@tiptap+extension-link+2.0.0-beta.218.patchrename to packages/editor/patches/@tiptap+extension-link+2.0.0-beta.220.patchindex 7e2a52458..7a4ecba0a 100644--- a/packages/editor/patches/@tiptap+extension-link+2.0.0-beta.218.patch+++ b/packages/editor/patches/@tiptap+extension-link+2.0.0-beta.220.patch@@ -1,5 +1,5 @@diff --git a/node_modules/@tiptap/extension-link/dist/index.cjs b/node_modules/@tiptap/extension-link/dist/index.cjs-index c5a8ab7..fa6e342 100644+index a79f326..a5f8fdd 100644--- a/node_modules/@tiptap/extension-link/dist/index.cjs+++ b/node_modules/@tiptap/extension-link/dist/index.cjs@@ -101,6 +101,8 @@ function clickHandler(options) {@@ -12,7 +12,7 @@ index c5a8ab7..fa6e342 100644const attrs = core.getAttributes(view.state, options.type.name);const link = (_a = event.target) === null || _a === void 0 ? void 0 : _a.closest('a');diff --git a/node_modules/@tiptap/extension-link/dist/index.js b/node_modules/@tiptap/extension-link/dist/index.js-index 3dfe757..dd6d3b5 100644+index d579117..3f6d893 100644--- a/node_modules/@tiptap/extension-link/dist/index.js+++ b/node_modules/@tiptap/extension-link/dist/index.js@@ -97,6 +97,8 @@ function clickHandler(options) {@@ -25,7 +25,7 @@ index 3dfe757..dd6d3b5 100644const attrs = getAttributes(view.state, options.type.name);const link = (_a = event.target) === null || _a === void 0 ? void 0 : _a.closest('a');diff --git a/node_modules/@tiptap/extension-link/dist/index.umd.js b/node_modules/@tiptap/extension-link/dist/index.umd.js-index c75d4ed..d1d7f33 100644+index 743ae18..643089d 100644--- a/node_modules/@tiptap/extension-link/dist/index.umd.js+++ b/node_modules/@tiptap/extension-link/dist/index.umd.js@@ -99,6 +99,8 @@