# 按 Enter 换行，Shift+Enter 在聊天中提交消息

**URL:** <https://meta.discourse.org/t/enter-to-newline-shift-enter-to-submit-message-in-chat/289280>\
**Category:** UX\
**Tags:** chat\
**Created:** [2023年十二月20日 04:40 UTC](https://meta.discourse.org/t/enter-to-newline-shift-enter-to-submit-message-in-chat/289280 "2023-12-20T04:40:46Z")\
**Posts on this page:** 1\
**Showing post:** 38

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2025年一月22日 12:21 UTC](https://meta.discourse.org/t/enter-to-newline-shift-enter-to-submit-message-in-chat/289280/38 "2025-01-22T12:21:23Z")

</div>

我刚刚合并了这个，它复制了 Telegram 的行为：

> <https://github.com/discourse/discourse/pull/30473>
>
> Users can now decide if they want to send a message on:
> \- \<kbd\>enter\</kbd\>
> \- \<…kbd\>meta + enter\</kbd\>
> 
> If you choose \<kbd\>meta + enter\</kbd\>, \<kbd\>enter\</kbd\> will add a linebreak.
> 
> 
> \<img width="192" alt="Screenshot 2025-01-21 at 12 57 48" src="https://github.com/user-attachments/assets/abfd6f8b-83b3-4e6f-be67-8f63d536ca8a" /\>

请告诉我您的使用情况。

---

_[View the full topic](https://meta.discourse.org/t/enter-to-newline-shift-enter-to-submit-message-in-chat/289280)._
