help: Document ability to drag-and-drop anywhere to upload a file.

- Replaces the "Via Markdown" tab with "Via drag-and-drop", and
modifies the instructions to explain that you can drag and drop
anywhere in the app, whether or not the compose box is open.
- Adds "Via paste" tab for the copy-pasting instructions.

Fixes #26894.
This commit is contained in:
David Rosa 2023-11-03 16:36:01 -07:00 committed by Tim Abbott
parent ddab0e6cd2
commit 56f725e39b
2 changed files with 19 additions and 3 deletions

View File

@ -12,12 +12,27 @@ and you can click on a thumbnail to [view the full image](/help/view-and-browse-
{start_tabs} {start_tabs}
{tab|via-markdown} {tab|via-drag-and-drop}
1. Drag and drop one or more files anywhere in the Zulip app,
whether or not the compose box is open.
Zulip will upload the files, and insert named links using
[Markdown formatting](/help/format-your-message-using-markdown#links):
`[Link text](URL)`.
1. _(optional)_ Modify the link text as desired.
!!! tip ""
You can [preview the message](/help/preview-your-message-before-sending)
before sending to see what your uploaded files will look like.
{tab|via-paste}
{!start-composing.md!} {!start-composing.md!}
1. Drag and drop files, or copy and paste one or more files into the compose 1. Copy and paste one or more files into the compose box.
box. Zulip will upload the files, and insert named links using Zulip will upload the files, and insert named links using
[Markdown formatting](/help/format-your-message-using-markdown#links): [Markdown formatting](/help/format-your-message-using-markdown#links):
`[Link text](URL)`. `[Link text](URL)`.

View File

@ -99,6 +99,7 @@ TAB_SECTION_LABELS = {
"bot": "Bot", "bot": "Bot",
"on-sign-up": "On sign-up", "on-sign-up": "On sign-up",
"via-paste": "Via paste", "via-paste": "Via paste",
"via-drag-and-drop": "Via drag-and-drop",
"via-markdown": "Via Markdown", "via-markdown": "Via Markdown",
"via-compose-box-buttons": "Via compose box buttons", "via-compose-box-buttons": "Via compose box buttons",
"stream-compose": "Compose to a stream", "stream-compose": "Compose to a stream",