diff --git a/packages/editor-mobile/src/components/title.tsx b/packages/editor-mobile/src/components/title.tsx index 3aa4fbac9..dbbcb78fe 100644 --- a/packages/editor-mobile/src/components/title.tsx +++ b/packages/editor-mobile/src/components/title.tsx @@ -115,6 +115,13 @@ function Title({ onInput={() => { resizeTextarea(); }} + onKeyDown={(e) => { + if (e.key === "Enter") { + e.preventDefault(); + e.stopPropagation(); + editor?.commands.focus(); + } + }} onPaste={() => { resizeTextarea(); }}