Skip to content

Commit f0eba36

Browse files
authored
Feat #443 - Add text formatting bubble menu
1 parent 121e2a9 commit f0eba36

File tree

4 files changed

+72
-50
lines changed

4 files changed

+72
-50
lines changed

β€Žadvanced/keyboard-shortcuts.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ Key / key combination Function
121121
Text Editing
122122
^^^^^^^^^^^^
123123

124+
.. hint:: The most important formatting options are also available in the bubble
125+
menu. It automatically appears when you select text in the editor.
126+
127+
.. figure:: /images/basics/editor-bubble-menu.png
128+
:alt: Screenshot shows editor bubble menu to format text.
129+
124130
How
125131
You can apply a text format *before* typing or *after* typing. Example:
126132

2.41 KB
Loading

β€Žlocale/user-docs.pot

Lines changed: 60 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Zammad User Documentation pre-release\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-08-08 15:39+0200\n"
11+
"POT-Creation-Date: 2025-08-22 11:13+0200\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -98,15 +98,15 @@ msgstr ""
9898
#: ../advanced/keyboard-shortcuts.rst:90
9999
#: ../advanced/keyboard-shortcuts.rst:100
100100
#: ../advanced/keyboard-shortcuts.rst:109
101-
#: ../advanced/keyboard-shortcuts.rst:141
101+
#: ../advanced/keyboard-shortcuts.rst:147
102102
msgid "Key / key combination"
103103
msgstr ""
104104

105105
#: ../advanced/keyboard-shortcuts.rst:62
106106
#: ../advanced/keyboard-shortcuts.rst:90
107107
#: ../advanced/keyboard-shortcuts.rst:100
108108
#: ../advanced/keyboard-shortcuts.rst:109
109-
#: ../advanced/keyboard-shortcuts.rst:141
109+
#: ../advanced/keyboard-shortcuts.rst:147
110110
msgid "Function"
111111
msgstr ""
112112

@@ -353,171 +353,182 @@ msgstr ""
353353
msgid "Text Editing"
354354
msgstr ""
355355

356-
#: ../advanced/keyboard-shortcuts.rst:137
356+
#: ../advanced/keyboard-shortcuts.rst:124
357+
msgid "The most important formatting options are also available in the bubble menu. It automatically appears when you select text in the editor."
358+
msgstr ""
359+
360+
#: ../advanced/keyboard-shortcuts.rst:0
361+
#: ../snippets/ui-protip-message-editor-features.rst:0
362+
#: ../snippets/ui-protip-message-editor-features.rst:0
363+
#: ../snippets/ui-protip-message-editor-features.rst:0
364+
msgid "Screenshot shows editor bubble menu to format text."
365+
msgstr ""
366+
367+
#: ../advanced/keyboard-shortcuts.rst:143
357368
msgid "How"
358369
msgstr ""
359370

360-
#: ../advanced/keyboard-shortcuts.rst:125
371+
#: ../advanced/keyboard-shortcuts.rst:131
361372
msgid "You can apply a text format *before* typing or *after* typing. Example:"
362373
msgstr ""
363374

364-
#: ../advanced/keyboard-shortcuts.rst:127
375+
#: ../advanced/keyboard-shortcuts.rst:133
365376
msgid "Before typing:"
366377
msgstr ""
367378

368-
#: ../advanced/keyboard-shortcuts.rst:129
379+
#: ../advanced/keyboard-shortcuts.rst:135
369380
msgid "Press :kbd:`ctrl` :kbd:`i` to enter *italics* mode,"
370381
msgstr ""
371382

372-
#: ../advanced/keyboard-shortcuts.rst:130
383+
#: ../advanced/keyboard-shortcuts.rst:136
373384
msgid "enter your desired text, and"
374385
msgstr ""
375386

376-
#: ../advanced/keyboard-shortcuts.rst:131
387+
#: ../advanced/keyboard-shortcuts.rst:137
377388
msgid "press :kbd:`ctrl` :kbd:`i` again to return to normal text mode."
378389
msgstr ""
379390

380-
#: ../advanced/keyboard-shortcuts.rst:133
391+
#: ../advanced/keyboard-shortcuts.rst:139
381392
msgid "After typing:"
382393
msgstr ""
383394

384-
#: ../advanced/keyboard-shortcuts.rst:135
395+
#: ../advanced/keyboard-shortcuts.rst:141
385396
msgid "Enter your desired text,"
386397
msgstr ""
387398

388-
#: ../advanced/keyboard-shortcuts.rst:136
399+
#: ../advanced/keyboard-shortcuts.rst:142
389400
msgid "click-and-drag with the mouse to select it, and"
390401
msgstr ""
391402

392-
#: ../advanced/keyboard-shortcuts.rst:137
403+
#: ../advanced/keyboard-shortcuts.rst:143
393404
msgid "press :kbd:`ctrl` :kbd:`i` to set the text in *italics*."
394405
msgstr ""
395406

396-
#: ../advanced/keyboard-shortcuts.rst:158
407+
#: ../advanced/keyboard-shortcuts.rst:164
397408
msgid "Key Combinations"
398409
msgstr ""
399410

400-
#: ../advanced/keyboard-shortcuts.rst:143
411+
#: ../advanced/keyboard-shortcuts.rst:149
401412
msgid ":kbd:`ctrl` :kbd:`u`"
402413
msgstr ""
403414

404-
#: ../advanced/keyboard-shortcuts.rst:143
415+
#: ../advanced/keyboard-shortcuts.rst:149
405416
msgid "Format text underlined"
406417
msgstr ""
407418

408-
#: ../advanced/keyboard-shortcuts.rst:144
419+
#: ../advanced/keyboard-shortcuts.rst:150
409420
msgid ":kbd:`ctrl` :kbd:`b`"
410421
msgstr ""
411422

412-
#: ../advanced/keyboard-shortcuts.rst:144
423+
#: ../advanced/keyboard-shortcuts.rst:150
413424
msgid "Format text in **bold**"
414425
msgstr ""
415426

416-
#: ../advanced/keyboard-shortcuts.rst:145
427+
#: ../advanced/keyboard-shortcuts.rst:151
417428
msgid ":kbd:`ctrl` :kbd:`i`"
418429
msgstr ""
419430

420-
#: ../advanced/keyboard-shortcuts.rst:145
431+
#: ../advanced/keyboard-shortcuts.rst:151
421432
msgid "Format text in *italics*"
422433
msgstr ""
423434

424-
#: ../advanced/keyboard-shortcuts.rst:146
435+
#: ../advanced/keyboard-shortcuts.rst:152
425436
msgid ":kbd:`ctrl` :kbd:`s`"
426437
msgstr ""
427438

428-
#: ../advanced/keyboard-shortcuts.rst:146
439+
#: ../advanced/keyboard-shortcuts.rst:152
429440
msgid "Format text as ΜΆsΜΆtΜΆrΜΆiΜΆkΜΆeΜΆtΜΆhΜΆrΜΆoΜΆuΜΆgΜΆhΜΆ"
430441
msgstr ""
431442

432-
#: ../advanced/keyboard-shortcuts.rst:147
443+
#: ../advanced/keyboard-shortcuts.rst:153
433444
msgid ":kbd:`ctrl` :kbd:`v`"
434445
msgstr ""
435446

436-
#: ../advanced/keyboard-shortcuts.rst:147
447+
#: ../advanced/keyboard-shortcuts.rst:153
437448
msgid "Paste text from clipboard"
438449
msgstr ""
439450

440-
#: ../advanced/keyboard-shortcuts.rst:148
451+
#: ../advanced/keyboard-shortcuts.rst:154
441452
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`v`"
442453
msgstr ""
443454

444-
#: ../advanced/keyboard-shortcuts.rst:148
455+
#: ../advanced/keyboard-shortcuts.rst:154
445456
msgid "Paste text from clipboard (as plain text)"
446457
msgstr ""
447458

448-
#: ../advanced/keyboard-shortcuts.rst:149
459+
#: ../advanced/keyboard-shortcuts.rst:155
449460
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`f`"
450461
msgstr ""
451462

452-
#: ../advanced/keyboard-shortcuts.rst:149
463+
#: ../advanced/keyboard-shortcuts.rst:155
453464
msgid "Remove formatting of text"
454465
msgstr ""
455466

456-
#: ../advanced/keyboard-shortcuts.rst:150
467+
#: ../advanced/keyboard-shortcuts.rst:156
457468
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`y`"
458469
msgstr ""
459470

460-
#: ../advanced/keyboard-shortcuts.rst:150
471+
#: ../advanced/keyboard-shortcuts.rst:156
461472
msgid "Remove formatting of the whole text"
462473
msgstr ""
463474

464-
#: ../advanced/keyboard-shortcuts.rst:151
475+
#: ../advanced/keyboard-shortcuts.rst:157
465476
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`z`"
466477
msgstr ""
467478

468-
#: ../advanced/keyboard-shortcuts.rst:151
479+
#: ../advanced/keyboard-shortcuts.rst:157
469480
msgid "Insert a horizontal line"
470481
msgstr ""
471482

472-
#: ../advanced/keyboard-shortcuts.rst:152
483+
#: ../advanced/keyboard-shortcuts.rst:158
473484
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`l`"
474485
msgstr ""
475486

476-
#: ../advanced/keyboard-shortcuts.rst:152
487+
#: ../advanced/keyboard-shortcuts.rst:158
477488
msgid "Format as unordered list"
478489
msgstr ""
479490

480-
#: ../advanced/keyboard-shortcuts.rst:153
491+
#: ../advanced/keyboard-shortcuts.rst:159
481492
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`k`"
482493
msgstr ""
483494

484-
#: ../advanced/keyboard-shortcuts.rst:153
495+
#: ../advanced/keyboard-shortcuts.rst:159
485496
msgid "Format as ordered list"
486497
msgstr ""
487498

488-
#: ../advanced/keyboard-shortcuts.rst:154
499+
#: ../advanced/keyboard-shortcuts.rst:160
489500
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`1`"
490501
msgstr ""
491502

492-
#: ../advanced/keyboard-shortcuts.rst:154
503+
#: ../advanced/keyboard-shortcuts.rst:160
493504
msgid "Format as h1 heading"
494505
msgstr ""
495506

496-
#: ../advanced/keyboard-shortcuts.rst:155
507+
#: ../advanced/keyboard-shortcuts.rst:161
497508
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`2`"
498509
msgstr ""
499510

500-
#: ../advanced/keyboard-shortcuts.rst:155
511+
#: ../advanced/keyboard-shortcuts.rst:161
501512
msgid "Format as h2 heading"
502513
msgstr ""
503514

504-
#: ../advanced/keyboard-shortcuts.rst:156
515+
#: ../advanced/keyboard-shortcuts.rst:162
505516
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`3`"
506517
msgstr ""
507518

508-
#: ../advanced/keyboard-shortcuts.rst:156
519+
#: ../advanced/keyboard-shortcuts.rst:162
509520
msgid "Format as h3 heading"
510521
msgstr ""
511522

512-
#: ../advanced/keyboard-shortcuts.rst:157
523+
#: ../advanced/keyboard-shortcuts.rst:163
513524
msgid ":kbd:`shift` :kbd:`ctrl` :kbd:`x`"
514525
msgstr ""
515526

516-
#: ../advanced/keyboard-shortcuts.rst:157
527+
#: ../advanced/keyboard-shortcuts.rst:163
517528
msgid "Remove any hyperlink"
518529
msgstr ""
519530

520-
#: ../advanced/keyboard-shortcuts.rst:160
531+
#: ../advanced/keyboard-shortcuts.rst:166
521532
msgid "If you are a Mac user, use :kbd:`cmd` instead of :kbd:`ctrl` and :kbd:`ctrl` :kbd:`option` instead of :kbd:`shift` :kbd:`ctrl`."
522533
msgstr ""
523534

@@ -1945,12 +1956,12 @@ msgstr ""
19451956
#: ../snippets/ui-protip-message-editor-features.rst:6
19461957
#: ../snippets/ui-protip-message-editor-features.rst:6
19471958
#: ../snippets/ui-protip-message-editor-features.rst:6
1948-
msgid "Use the built-in :doc:`keyboard shortcuts </advanced/keyboard-shortcuts>` to apply rich text formatting."
1959+
msgid "Use the built-in :doc:`keyboard shortcuts </advanced/keyboard-shortcuts>` to apply rich text formatting or select text and use a formatting option from the bubble menu which shows up after selecting text."
19491960
msgstr ""
19501961

1951-
#: ../snippets/ui-protip-message-editor-features.rst:8
1952-
#: ../snippets/ui-protip-message-editor-features.rst:8
1953-
#: ../snippets/ui-protip-message-editor-features.rst:8
1962+
#: ../snippets/ui-protip-message-editor-features.rst:13
1963+
#: ../snippets/ui-protip-message-editor-features.rst:13
1964+
#: ../snippets/ui-protip-message-editor-features.rst:13
19541965
msgid "Use the πŸ—Š icon next to the ticket title to copy the ticket number to your clipboard (including ticket hook; e.g. ``Ticket#50071``)."
19551966
msgstr ""
19561967

β€Žsnippets/ui-protip-message-editor-features.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
(or dragging-and-dropping) of **πŸ”€ rich text**, **πŸŒ„ images**
55
and **πŸ“Ž file attachments**.
66
* Use the built-in :doc:`keyboard shortcuts
7-
</advanced/keyboard-shortcuts>` to apply rich text formatting.
7+
</advanced/keyboard-shortcuts>` to apply rich text formatting or select
8+
text and use a formatting option from the bubble menu which shows up after
9+
selecting text.
10+
11+
.. figure:: /images/basics/editor-bubble-menu.png
12+
:alt: Screenshot shows editor bubble menu to format text.
813
* Use the πŸ—Š icon next to the ticket title to copy the ticket number to your
914
clipboard (including ticket hook; e.g. ``Ticket#50071``).

0 commit comments

Comments
Β (0)