# 在移动设备上的富文本模式下，代码块无法创建新行

**URL:** <https://meta.discourse.org/t/cannot-create-new-lines-in-codeblocks-in-rich-text-mode-on-mobile/378842>\
**Category:** Bug\
**Tags:** composer, mobile\
**Created:** [2025年八月16日 04:22 UTC](https://meta.discourse.org/t/cannot-create-new-lines-in-codeblocks-in-rich-text-mode-on-mobile/378842 "2025-08-16T04:22:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2025年八月16日 04:38 UTC](https://meta.discourse.org/t/cannot-create-new-lines-in-codeblocks-in-rich-text-mode-on-mobile/378842/2 "2025-08-16T04:38:02Z")

</div>

~~我在 iPhone 上可以轻松做到这一点，所以我猜你用的是安卓。~~ 🧐

编辑：算了，我明白了——我是通过先输入然后高亮来预格式化文本，但你说得对，它会创建一个完整的块，然后你就被困住了，或者你必须留一个空行。 🤔

编辑 2：看起来我在 iPhone 上的 Chrome 浏览器中只需点击下方即可。 Safari 则不然……

---

_[View the full topic](https://meta.discourse.org/t/cannot-create-new-lines-in-codeblocks-in-rich-text-mode-on-mobile/378842)._
