#8348·tiptap

[Bug][v3.31.1] iOS and Android that will break node views on enter

Author: xiaweissCreated Sep 17, 2026Updated Sep 17, 2026
Labelsstatus: triagearea: editorarea: corecomplexity: hardimpact: medium

Affected Packages

core

Tiptap Version

3.31.1

Browser Used

Chrome

What happened?

When implementing a code block with NodeView, pressing enter to start a new line on mobile produces an extra blank line, and the content entered after the line break is lost.

Image

Insert a line break after the end of the first line of code.

Image

Expected Behavior

It behaves normally when using a PC, or after downgrading to version 3.31.0.

Image

Reproducible Example URL (Optional)

https://github.com/xiaweiss/tiptap-bug-report

Additional Context (Optional)

The relevant change is in NodeView.ts, line 297. issue #8220

https://github.com/ueberdosis/tiptap/blob/d3bbcf4cdad92470388efd0b6aef53c65b3515ce/packages/core/src/NodeView.ts#L297