Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] #103529 - Introduce hotkey for "Save and Close" #173

Merged
merged 6 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Documentation/ContentElements/Content/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ Highlighted areas will then show you where you can drop it.

You can move a content element from one page to another in the :guilabel:`Web
> List` module using cut and paste. Refer to the :ref:`clipboard chapter <clipboard>` for information about using the clipboard in the :guilabel:`List` module.

.. include:: /ContentElements/TipKeyboardCommands.rst.txt
2 changes: 2 additions & 0 deletions Documentation/ContentElements/CreatingContent/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,5 @@ Add new content to a page
:class: with-shadow

The new content element appears in the Page module

.. include:: /ContentElements/TipKeyboardCommands.rst.txt
2 changes: 2 additions & 0 deletions Documentation/ContentElements/EditingContent/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ display different input fields.

This action does not delete content. It is saved in the background and will be
restored if you select the applicable content element type again.

.. include:: /ContentElements/TipKeyboardCommands.rst.txt
2 changes: 2 additions & 0 deletions Documentation/ContentElements/Images/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ Behavior
--------

Use the :guilabel:`Enlarge on Click` setting to enable a lightbox display for the image.

.. include:: /ContentElements/TipKeyboardCommands.rst.txt
2 changes: 2 additions & 0 deletions Documentation/ContentElements/Media/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ start playing as soon as the page loads.
You can configure various settings for media files (for example, adding a
border, setting page position and behavior) just as you would to
:ref:`configure an image<Configure-the-image>`.

.. include:: /ContentElements/TipKeyboardCommands.rst.txt
2 changes: 2 additions & 0 deletions Documentation/ContentElements/RichTextEditor/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ Removing a link

To remove a link from text, put your cursor anywhere in the linked text then
click the :guilabel:`Unlink` icon on the toolbar.

.. include:: /ContentElements/TipKeyboardCommands.rst.txt
5 changes: 5 additions & 0 deletions Documentation/ContentElements/TipKeyboardCommands.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.. tip::

If you are more comfortable using shortcuts, there are different kinds of
:ref:`keyboard commands <keyboard_commands>` you can use in
the backend forms.
froemken marked this conversation as resolved.
Show resolved Hide resolved
14 changes: 14 additions & 0 deletions Documentation/HelpInside/KeyboardCommands/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ the guidelines set out in `WAI-ARIA Authoring Practices 1.1. <https://www.w3.org
* :kbd:`Right` arrow key will expand the focus if possible.
* :kbd:`Left` arrow key will close the focus if possible.

Actions in backend forms
=========================

.. tabs::

.. group-tab:: Windows / Linux

* :kbd:`ctrl` + :kbd:`s` = Save
* :kbd:`ctrl` + :kbd:`shift` + :kbd:`s` = Save and close

.. group-tab:: macOs

* :kbd:`cmd (⌘)` + :kbd:`s` = Save
* :kbd:`cmd (⌘)` + :kbd:`shift` + :kbd:`s` = Save and close
froemken marked this conversation as resolved.
Show resolved Hide resolved

Editing text in the Rich Text Editor (RTE)
==========================================
Expand Down