help: Create "Configure send message keys" article.

Document setting the keys that will send a message or create a new
line when composting a message via the compose box and via the
personal settings overlay.

Updates links and redirect from former help center article about
this feature.

Fixes #31620.
This commit is contained in:
Lauryn Menard 2024-10-09 21:05:21 +02:00 committed by Tim Abbott
parent f4de1c4313
commit 517b15dc8d
12 changed files with 66 additions and 66 deletions

View File

@ -10,12 +10,13 @@
1. Make sure the compose box is empty. 1. Make sure the compose box is empty.
2. Type `/todo` followed by a space, and the title of the to-do list. 1. Type `/todo` followed by a space, and the title of the to-do list.
3. _(optional)_ Type each task on a new line, with its description, if any, after a <kbd>:</kbd> and blank space. 1. _(optional)_ Type each task on a new line, with its description, if
any, after a <kbd>:</kbd> and blank space.
4. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or 1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>)
use a [keyboard shortcut](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message) button, or use a [keyboard shortcut](/help/configure-send-message-keys)
to send your message. to send your message.
!!! tip "" !!! tip ""
@ -28,7 +29,8 @@
{start_tabs} {start_tabs}
1. Fill out the **New task** field and optionally the **Description** field at the bottom of the to-do list. 1. Fill out the **New task** field and optionally the **Description**
field at the bottom of the to-do list.
1. Click **Add task** to add the new task to the to-do list. 1. Click **Add task** to add the new task to the to-do list.

View File

@ -0,0 +1,41 @@
# Configure send message keys
By default, the <kbd>Enter</kbd> key adds a new line to your message,
and <kbd>Ctrl</kbd> + <kbd>Enter</kbd> sends your message.
This is convenient for typing multi-line messages, which are more common in
Zulip than in most other chat products. However, you can also configure
Zulip so that the <kbd>Enter</kbd> key sends your message.
!!! tip ""
<kbd>Shift</kbd> + <kbd>Enter</kbd> always adds a new line, regardless
of whether **<kbd>Enter</kbd> to send** is enabled.
## Configure send message keys
{start_tabs}
{tab|via-compose-box}
{!start-composing.md!}
1. Click on the **ellipsis** (<i class="zulip-icon zulip-icon-more-vertical"></i>)
in the bottom right corner of the compose box, next to the **Send**
(<i class="zulip-icon zulip-icon-send"></i>) button.
1. Toggle your preferred option for **Press ... to send**.
{tab|via-personal-settings}
{settings_tab|preferences}
1. Under **General**, toggle **<kbd>Enter</kbd> sends when composing a message**.
{end_tabs}
## Related articles
* [Message formatting](/help/format-your-message-using-markdown)
* [Preview messages before sending](/help/preview-your-message-before-sending)
* [Mastering the compose box](/help/mastering-the-compose-box)

View File

@ -21,9 +21,8 @@ edit the question.
formatting. formatting.
1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or 1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or
use a [keyboard use a [keyboard shortcut](/help/configure-send-message-keys) to send your
shortcut](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message) message.
to send your message.
!!! tip "" !!! tip ""
@ -43,8 +42,8 @@ edit the question.
3. _(optional)_ Type each option on a new line. 3. _(optional)_ Type each option on a new line.
4. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or 4. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or
use a [keyboard shortcut](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message) use a [keyboard shortcut](/help/configure-send-message-keys) to send your
to send your message. message.
!!! tip "" !!! tip ""

View File

@ -3,5 +3,5 @@
sending. sending.
1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or 1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or
use a [keyboard shortcut](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message) use a [keyboard shortcut](/help/configure-send-message-keys) to send your
to send your message. message.

View File

@ -9,8 +9,8 @@ To reply to an existing thread:
sending. sending.
1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or 1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or
use a [keyboard shortcut](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message) use a [keyboard shortcut](/help/configure-send-message-keys) to send your
to send your message. message.
!!! tip "" !!! tip ""
You can also reply by clicking on a message, or using the <kbd>R</kbd> or You can also reply by clicking on a message, or using the <kbd>R</kbd> or

View File

@ -19,8 +19,8 @@
- [Browse and subscribe to channels](/help/introduction-to-channels#browse-and-subscribe-to-channels). - [Browse and subscribe to channels](/help/introduction-to-channels#browse-and-subscribe-to-channels).
- Decide whether you want <kbd>Enter</kbd> [to send your message - Decide whether you want <kbd>Enter</kbd> [to send your message or add a
or add a new line](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message). new line](/help/configure-send-message-keys).
- [Configure your notifications](/#settings/notifications) to work the way - [Configure your notifications](/#settings/notifications) to work the way
you do. If you're joining a low traffic organization and aren't using the you do. If you're joining a low traffic organization and aren't using the

View File

@ -46,6 +46,7 @@
## Preferences ## Preferences
* [Dark theme](/help/dark-theme) * [Dark theme](/help/dark-theme)
* [Configure send message keys](/help/configure-send-message-keys)
* [Font size](/help/font-size) * [Font size](/help/font-size)
* [Change your language](/help/change-your-language) * [Change your language](/help/change-your-language)
* [Change your time zone](/help/change-your-timezone) * [Change your time zone](/help/change-your-timezone)

View File

@ -145,7 +145,7 @@ in the Zulip app to add more to your repertoire as needed.
<kbd>Enter</kbd> or <kbd>Ctrl</kbd> + <kbd>Enter</kbd> based on <kbd>Enter</kbd> or <kbd>Ctrl</kbd> + <kbd>Enter</kbd> based on
[your settings][toggle-enter-to-send] [your settings][toggle-enter-to-send]
[toggle-enter-to-send]: /help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message [toggle-enter-to-send]: /help/configure-send-message-keys
* **Insert italic text**: `*italic*` or <kbd>Ctrl</kbd> + <kbd>I</kbd> * **Insert italic text**: `*italic*` or <kbd>Ctrl</kbd> + <kbd>I</kbd>

View File

@ -78,51 +78,10 @@ where you sent a message**, as desired.
{end_tabs} {end_tabs}
## Toggle between <kbd>Ctrl</kbd> + <kbd>Enter</kbd> and <kbd>Enter</kbd> to send a message
By default, the <kbd>Enter</kbd> key adds a new line to your message,
and <kbd>Ctrl</kbd> + <kbd>Enter</kbd> sends your message.
This is convenient for typing multi-line messages, which are more common in
Zulip than in most other chat products. However, you can also configure
Zulip so that the <kbd>Enter</kbd> key sends your message.
!!! tip ""
<kbd>Shift</kbd> + <kbd>Enter</kbd> always adds a new line, regardless
of whether **<kbd>Enter</kbd> to send** is enabled.
### Enable <kbd>Enter</kbd> to send
{start_tabs}
{!start-composing.md!}
1. Click on the **ellipsis** (<i class="zulip-icon zulip-icon-more-vertical"></i>)
in the bottom right corner of the compose box, next to the **Send**
(<i class="zulip-icon zulip-icon-send"></i>) button.
1. Select **<kbd>Enter</kbd> to send**.
{end_tabs}
### Enable **<kbd>Ctrl</kbd> + <kbd>Enter</kbd> to send**
{start_tabs}
{!start-composing.md!}
1. Click on the **ellipsis** (<i class="zulip-icon zulip-icon-more-vertical"></i>)
in the bottom right corner of the compose box, next to the **Send**
(<i class="zulip-icon zulip-icon-send"></i>) button.
1. Select **<kbd>Ctrl</kbd> + <kbd>Enter</kbd> to send**.
{end_tabs}
## Related articles ## Related articles
* [Resize the compose box](/help/resize-the-compose-box) * [Resize the compose box](/help/resize-the-compose-box)
* [Message formatting](/help/format-your-message-using-markdown) * [Message formatting](/help/format-your-message-using-markdown)
* [Preview messages before sending](/help/preview-your-message-before-sending) * [Preview messages before sending](/help/preview-your-message-before-sending)
* [Configure send message keys](/help/configure-send-message-keys)
* [Messaging tips and tricks](/help/messaging-tips) * [Messaging tips and tricks](/help/messaging-tips)

View File

@ -88,6 +88,7 @@ TAB_SECTION_LABELS = {
"via-organization-settings": "Via organization settings", "via-organization-settings": "Via organization settings",
"via-personal-settings": "Via personal settings", "via-personal-settings": "Via personal settings",
"via-channel-settings": "Via channel settings", "via-channel-settings": "Via channel settings",
"via-compose-box": "Via compose box",
"default-subdomain": "Default subdomain", "default-subdomain": "Default subdomain",
"custom-subdomain": "Custom subdomain", "custom-subdomain": "Custom subdomain",
"zulip-cloud-standard": "Zulip Cloud Standard", "zulip-cloud-standard": "Zulip Cloud Standard",

View File

@ -36,10 +36,7 @@ HELP_DOCUMENTATION_REDIRECTS: list[URLRedirect] = [
"/help/add-custom-profile-fields", "/help/add-custom-profile-fields",
"/help/custom-profile-fields", "/help/custom-profile-fields",
), ),
URLRedirect( URLRedirect("/help/enable-enter-to-send", "/help/configure-send-message-keys"),
"/help/enable-enter-to-send",
"/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message",
),
URLRedirect( URLRedirect(
"/help/change-the-default-language-for-your-organization", "/help/change-the-default-language-for-your-organization",
"/help/configure-organization-language", "/help/configure-organization-language",

View File

@ -15130,7 +15130,7 @@ paths:
enter_sends: enter_sends:
type: boolean type: boolean
description: | description: |
Whether the user setting for [sending on pressing Enter](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message) Whether the user setting for [sending on pressing Enter](/help/configure-send-message-keys)
in the compose box is enabled. in the compose box is enabled.
enable_drafts_synchronization: enable_drafts_synchronization:
type: boolean type: boolean
@ -16107,7 +16107,7 @@ paths:
`update_display_settings`. `update_display_settings`.
[capabilities]: /api/register-queue#parameter-client_capabilities [capabilities]: /api/register-queue#parameter-client_capabilities
[set-enter-send]: /help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message [set-enter-send]: /help/configure-send-message-keys
emojiset_choices: emojiset_choices:
deprecated: true deprecated: true
description: | description: |
@ -17828,7 +17828,7 @@ paths:
enter_sends: enter_sends:
type: boolean type: boolean
description: | description: |
Whether the user setting for [sending on pressing Enter](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message) Whether the user setting for [sending on pressing Enter](/help/configure-send-message-keys)
in the compose box is enabled. in the compose box is enabled.
enable_drafts_synchronization: enable_drafts_synchronization:
type: boolean type: boolean