From 662b3dbb6d6fd055d835a81680fddec432753daf Mon Sep 17 00:00:00 2001 From: Damon Cook Date: Fri, 14 Jun 2024 10:46:22 -0400 Subject: [PATCH] Update TextEditorGlobalKeyboardShortcuts docs for consistency --- packages/editor/README.md | 6 ++++-- packages/editor/src/components/index.js | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/editor/README.md b/packages/editor/README.md index f82b59981e84c..ce1a3e3d91eb2 100644 --- a/packages/editor/README.md +++ b/packages/editor/README.md @@ -1603,9 +1603,11 @@ _Returns_ ### TextEditorGlobalKeyboardShortcuts -Component handles the global keyboard shortcuts for the Text editor. +Represents the TextEditorGlobalKeyboardShortcuts component. This component is responsible for handling global keyboard shortcuts in the editor. -It provides functionality for various keyboard shortcuts such as toggling editor mode, toggling distraction-free mode, undo/redo. +_Type_ + +- `EditorKeyboardShortcuts` ### ThemeSupportCheck diff --git a/packages/editor/src/components/index.js b/packages/editor/src/components/index.js index f36fa432548f6..ca3e98018b9e8 100644 --- a/packages/editor/src/components/index.js +++ b/packages/editor/src/components/index.js @@ -115,9 +115,9 @@ export * from './deprecated'; export const VisualEditorGlobalKeyboardShortcuts = EditorKeyboardShortcuts; /** - * Component handles the global keyboard shortcuts for the Text editor. + * Represents the TextEditorGlobalKeyboardShortcuts component. + * This component is responsible for handling global keyboard shortcuts in the editor. * - * It provides functionality for various keyboard shortcuts such as toggling editor mode, - * toggling distraction-free mode, undo/redo. + * @type {EditorKeyboardShortcuts} */ export const TextEditorGlobalKeyboardShortcuts = EditorKeyboardShortcuts;