[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.
Insert a line break after the end of the first line of code.
Expected Behavior
It behaves normally when using a PC, or after downgrading to version 3.31.0.
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
Source: ueberdosis/tiptap