Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help: Create "Configure send message keys" article.
Lauryn Menard517b15dc8d19
diff --git a/help/collaborative-to-do-lists.md b/help/collaborative-to-do-lists.mdindex 92b8434f855..dcc3295d86a 100644--- a/help/collaborative-to-do-lists.md+++ b/help/collaborative-to-do-lists.md@@ -10,12 +10,13 @@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- use a [keyboard shortcut](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message)+1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>)+ button, or use a [keyboard shortcut](/help/configure-send-message-keys)to send your message.!!! tip ""@@ -28,7 +29,8 @@{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.diff --git a/help/configure-send-message-keys.md b/help/configure-send-message-keys.mdnew file mode 100644index 00000000000..be5a080351e--- /dev/null+++ b/help/configure-send-message-keys.md@@ -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)diff --git a/help/create-a-poll.md b/help/create-a-poll.mdindex 0ee51890c2f..6c92c31cace 100644--- a/help/create-a-poll.md+++ b/help/create-a-poll.md@@ -21,9 +21,8 @@ edit the question.formatting.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)- to send your message.+ use a [keyboard shortcut](/help/configure-send-message-keys) to send your+ message.!!! tip ""@@ -43,8 +42,8 @@ edit the question.3. _(optional)_ Type each option on a new line.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)- to send your message.+ use a [keyboard shortcut](/help/configure-send-message-keys) to send your+ message.!!! tip ""diff --git a/help/include/compose-and-send-message.md b/help/include/compose-and-send-message.mdindex a31794388ce..661d91c74a3 100644--- a/help/include/compose-and-send-message.md+++ b/help/include/compose-and-send-message.md@@ -3,5 +3,5 @@sending.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)- to send your message.+ use a [keyboard shortcut](/help/configure-send-message-keys) to send your+ message.diff --git a/help/include/replying-to-messages.md b/help/include/replying-to-messages.mdindex 4e43be022c1..df5a4e4bef2 100644--- a/help/include/replying-to-messages.md+++ b/help/include/replying-to-messages.md@@ -9,8 +9,8 @@ To reply to an existing thread:sending.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)- to send your message.+ use a [keyboard shortcut](/help/configure-send-message-keys) to send your+ message.!!! tip ""You can also reply by clicking on a message, or using the <kbd>R</kbd> ordiff --git a/help/include/set-up-your-account.md b/help/include/set-up-your-account.mdindex a705a1db872..fac917a5cbc 100644--- a/help/include/set-up-your-account.md+++ b/help/include/set-up-your-account.md@@ -19,8 +19,8 @@- [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- or add a new line](/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message).+- Decide whether you want <kbd>Enter</kbd> [to send your message or add a+ new line](/help/configure-send-message-keys).- [Configure your notifications](/#settings/notifications) to work the wayyou do. If you're joining a low traffic organization and aren't using thediff --git a/help/include/sidebar_index.md b/help/include/sidebar_index.mdindex 31f22f74f1a..44a4c302257 100644--- a/help/include/sidebar_index.md+++ b/help/include/sidebar_index.md@@ -46,6 +46,7 @@## Preferences* [Dark theme](/help/dark-theme)+* [Configure send message keys](/help/configure-send-message-keys)* [Font size](/help/font-size)* [Change your language](/help/change-your-language)* [Change your time zone](/help/change-your-timezone)diff --git a/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.mdindex 7a41ab05c12..44312a94196 100644--- a/help/keyboard-shortcuts.md+++ b/help/keyboard-shortcuts.md@@ -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[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>diff --git a/help/mastering-the-compose-box.md b/help/mastering-the-compose-box.mdindex 127c7db7c44..c3c96b3d3c9 100644--- a/help/mastering-the-compose-box.md+++ b/help/mastering-the-compose-box.md@@ -78,51 +78,10 @@ where you sent a message**, as desired.{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* [Resize the compose box](/help/resize-the-compose-box)* [Message formatting](/help/format-your-message-using-markdown)* [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)diff --git a/zerver/lib/markdown/tabbed_sections.py b/zerver/lib/markdown/tabbed_sections.pyindex 5c1c2dca5b5..dc2157534b0 100644--- a/zerver/lib/markdown/tabbed_sections.py+++ b/zerver/lib/markdown/tabbed_sections.py@@ -88,6 +88,7 @@ TAB_SECTION_LABELS = {"via-organization-settings": "Via organization settings","via-personal-settings": "Via personal settings","via-channel-settings": "Via channel settings",+ "via-compose-box": "Via compose box","default-subdomain": "Default subdomain","custom-subdomain": "Custom subdomain","zulip-cloud-standard": "Zulip Cloud Standard",diff --git a/zerver/lib/url_redirects.py b/zerver/lib/url_redirects.pyindex 5fa07fddd14..48a4e434196 100644--- a/zerver/lib/url_redirects.py+++ b/zerver/lib/url_redirects.py@@ -36,10 +36,7 @@ HELP_DOCUMENTATION_REDIRECTS: list[URLRedirect] = ["/help/add-custom-profile-fields","/help/custom-profile-fields",),- URLRedirect(- "/help/enable-enter-to-send",- "/help/mastering-the-compose-box#toggle-between-ctrl-enter-and-enter-to-send-a-message",- ),+ URLRedirect("/help/enable-enter-to-send", "/help/configure-send-message-keys"),URLRedirect("/help/change-the-default-language-for-your-organization","/help/configure-organization-language",diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex abc4bdb14c0..95618e09eef 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -15130,7 +15130,7 @@ paths:enter_sends:type: booleandescription: |- 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.enable_drafts_synchronization:type: boolean@@ -16107,7 +16107,7 @@ paths:`update_display_settings`.[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-keysemojiset_choices:deprecated: truedescription: |@@ -17828,7 +17828,7 @@ paths:enter_sends:type: booleandescription: |- 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.enable_drafts_synchronization:type: boolean