Skip to content

Commit

Permalink
Update TextEditorGlobalKeyboardShortcuts docs for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
colorful-tones committed Jun 14, 2024
1 parent 53c3c4f commit 662b3db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions packages/editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions packages/editor/src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 662b3db

Please sign in to comment.