From 260d62d5d9a523f6fc9de9d9f92b3a9e467dfb18 Mon Sep 17 00:00:00 2001 From: Sven Finner <63340669+sfinnerWco@users.noreply.github.com> Date: Mon, 5 Aug 2024 14:54:02 +0200 Subject: [PATCH] [FEATURE] #103529 - Introduce hotkey for "Save and Close" (#173) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [FEATURE] #103529 - Introduce hotkey for "Save and Close" res: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/887 Releases: main * [TASK] Add tips with reference to Keyboard commands in several Content Element Docs. releases: main, 12.4 * [FIX] Renaming the headline to not irritate users (could think of RTE shortcuts) releases: main * [FIX] Outsource tip into include File, renaming to backend forms in the tip similar to the headline in Keyboard Commands Page. * [FIX] Rename include file due to check fail * Apply suggestions from code review --------- Co-authored-by: Stefan Frömken --- Documentation/ContentElements/Content/Index.rst | 2 ++ .../ContentElements/CreatingContent/Index.rst | 2 ++ .../ContentElements/EditingContent/Index.rst | 2 ++ Documentation/ContentElements/Images/Index.rst | 2 ++ Documentation/ContentElements/Media/Index.rst | 2 ++ .../ContentElements/RichTextEditor/Index.rst | 2 ++ .../ContentElements/TipKeyboardCommands.rst.txt | 5 +++++ .../HelpInside/KeyboardCommands/Index.rst | 14 ++++++++++++++ 8 files changed, 31 insertions(+) create mode 100644 Documentation/ContentElements/TipKeyboardCommands.rst.txt diff --git a/Documentation/ContentElements/Content/Index.rst b/Documentation/ContentElements/Content/Index.rst index 9112929..2d7fec1 100644 --- a/Documentation/ContentElements/Content/Index.rst +++ b/Documentation/ContentElements/Content/Index.rst @@ -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 ` for information about using the clipboard in the :guilabel:`List` module. + +.. include:: /ContentElements/TipKeyboardCommands.rst.txt diff --git a/Documentation/ContentElements/CreatingContent/Index.rst b/Documentation/ContentElements/CreatingContent/Index.rst index e388943..b50b3e7 100644 --- a/Documentation/ContentElements/CreatingContent/Index.rst +++ b/Documentation/ContentElements/CreatingContent/Index.rst @@ -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 diff --git a/Documentation/ContentElements/EditingContent/Index.rst b/Documentation/ContentElements/EditingContent/Index.rst index ad9951d..8c86f6d 100644 --- a/Documentation/ContentElements/EditingContent/Index.rst +++ b/Documentation/ContentElements/EditingContent/Index.rst @@ -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 diff --git a/Documentation/ContentElements/Images/Index.rst b/Documentation/ContentElements/Images/Index.rst index b363013..5cd1b81 100644 --- a/Documentation/ContentElements/Images/Index.rst +++ b/Documentation/ContentElements/Images/Index.rst @@ -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 diff --git a/Documentation/ContentElements/Media/Index.rst b/Documentation/ContentElements/Media/Index.rst index e0a8012..83e543c 100644 --- a/Documentation/ContentElements/Media/Index.rst +++ b/Documentation/ContentElements/Media/Index.rst @@ -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`. + +.. include:: /ContentElements/TipKeyboardCommands.rst.txt diff --git a/Documentation/ContentElements/RichTextEditor/Index.rst b/Documentation/ContentElements/RichTextEditor/Index.rst index fd3d46f..9ac4d4a 100644 --- a/Documentation/ContentElements/RichTextEditor/Index.rst +++ b/Documentation/ContentElements/RichTextEditor/Index.rst @@ -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 diff --git a/Documentation/ContentElements/TipKeyboardCommands.rst.txt b/Documentation/ContentElements/TipKeyboardCommands.rst.txt new file mode 100644 index 0000000..c564b66 --- /dev/null +++ b/Documentation/ContentElements/TipKeyboardCommands.rst.txt @@ -0,0 +1,5 @@ +.. tip:: + + If you are more comfortable using shortcuts, there are different kinds of + :ref:`keyboard commands ` you can use in + the backend forms. diff --git a/Documentation/HelpInside/KeyboardCommands/Index.rst b/Documentation/HelpInside/KeyboardCommands/Index.rst index 645a594..8199720 100644 --- a/Documentation/HelpInside/KeyboardCommands/Index.rst +++ b/Documentation/HelpInside/KeyboardCommands/Index.rst @@ -23,6 +23,20 @@ the guidelines set out in `WAI-ARIA Authoring Practices 1.1.