# Cannot create new lines in codeblocks in Rich Text Mode on mobile

**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:** [August 16, 2025, 4:22am 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:** 1

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [August 16, 2025, 4:22am UTC](https://meta.discourse.org/t/cannot-create-new-lines-in-codeblocks-in-rich-text-mode-on-mobile/378842/1 "2025-08-16T04:22:11Z")

</div>

In a codeblock on mobile, I cannot seem to add new lines by pressing Return on my keyboard.

Reproducible steps:

1. Open the post composer
2. Switch to Rich Text if you’re not already there
3. Go to the ‘more’ section [the one with the circle and a plus; I forgot its actual name]
4. Click on ‘Preformatted text’
5. Add some text into the codeblock
6. Try to add newlines by clicking the return ↩ key
7. You can’t!

On Android, Samsung A14.

---

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