mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-05-18 05:05:36 +02:00
mobile: fix exiting table not working
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user