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
mobile: fix exiting table not working
Ammar Ahmed8aa31b838072
diff --git a/packages/editor-mobile/src/components/editor.tsx b/packages/editor-mobile/src/components/editor.tsxindex bcaca732e..be3761ca0 100644--- a/packages/editor-mobile/src/components/editor.tsx+++ b/packages/editor-mobile/src/components/editor.tsx@@ -386,7 +386,8 @@ const Tiptap = ({firstChildNodeType !== "embed" &&firstChildNodeType !== "attachment" &&firstChildNodeType !== "mathBlock" &&- firstChildNodeType !== "horizontalRule";+ firstChildNodeType !== "horizontalRule" &&+ firstChildNodeType !== "table";if (isSimpleNode) {editor?.commands.focus("end");return;@@ -414,7 +415,8 @@ const Tiptap = ({lastChildNodeType !== "embed" &&lastChildNodeType !== "attachment" &&lastChildNodeType !== "mathBlock" &&- lastChildNodeType !== "horizontalRule";+ lastChildNodeType !== "horizontalRule" &&+ lastChildNodeType !== "table";if (isSimpleNode) {editor?.commands.focus("end");return;