[bug]: Pages with a table freeze the page editor on Android browsers when navigating back; editor inserts hundreds of empty paragraphs while hung

未关闭
#10,112 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@ayushgade06 已经在做这个了。

开始于 2026年11月3日。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
django, docker-compose, react, typescript
领域
backend, frontend

调研方向

Start by tracing the page editor’s table handling and navigation cleanup in the frontend; the report provides a minimal failing table and a control page without tables, but names no source files or tests. Reproduce on Android Chrome or Firefox, then inspect the saved page description after navigating back. Done means navigating away no longer freezes and the document gains no empty paragraphs.

由索引模型根据 Issue 内容生成。

描述

On Android (Chrome, also installed as PWA, and Firefox), any page that contains a table opens and renders normally, but pressing back (navigating away) freezes the tab/app. Pages without tables are fine. Desktop browsers are fine.

On larger pages the freeze also corrupts the document: while hung, the editor inserts empty paragraphs at the very top of the page, and they are persisted for everyone. Two pages with identical content (~17 KB of HTML: 1 h1, 7 h2, 3 tables, lists) ended up with 1,732 and 1,356 empty <p> blocks before the real content after a single visit each. After that, the pages load poorly even on desktop. The count differs between visits, which suggests a loop that runs until the tab dies.

Steps to reproduce
  1. On desktop or mobile, create a page and insert a small table (e.g. 3×3 with a few words). A table typed by hand in the mobile editor reproduces it too.
  2. On an Android phone, open the page in Chrome or Firefox. It renders fine.
  3. Press back.
  4. The tab/app freezes.
  5. With a larger page containing several tables, reopen it on desktop afterwards: the stored description now starts with hundreds or thousands of empty paragraphs.

Control: the same steps with a page containing headings, lists, bold and inline code but no table work correctly.

Stored HTML of a minimal failing page (as saved by the editor):
<table><tbody><tr><td colspan="1" rowspan="1" colwidth="150"><p class="editor-paragraph-block">Abc</p></td>…</tr></tbody></table><p class="editor-paragraph-block"></p>

Environment
  • Variant: self-hosted Community Edition, Docker Compose
  • Version: v1.4.2
  • Device: Samsung Galaxy S25 Ultra, Android 17 (One UI 9.0)
  • Browsers: Chrome 156.0.8078.47 (tab and installed PWA), Firefox 158.0.2
  • Desktop Chrome/Firefox: not affected
主要语言
TypeScript
星标
63k
派生
6.5k
平均合并
2 天 16 小时
30 天内合并 PR
70

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

makeplane/plane 的其他 Issue

查看 makeplane/plane 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。