From a5b2bca6417c5906d0b862570887cae2b3b69aa8 Mon Sep 17 00:00:00 2001 From: Zack Moore Date: Wed, 22 Jan 2025 16:52:13 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Kristin Bradley --- .../docs/components/code-editor/partials/code/how-to-use.md | 3 +-- .../components/code-editor/partials/guidelines/guidelines.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/website/docs/components/code-editor/partials/code/how-to-use.md b/website/docs/components/code-editor/partials/code/how-to-use.md index affe22c8e2..f73af61d05 100644 --- a/website/docs/components/code-editor/partials/code/how-to-use.md +++ b/website/docs/components/code-editor/partials/code/how-to-use.md @@ -1,8 +1,7 @@ ## How to use this component -The HDS code editor component is provided as both a `CodeEditor` component and as an `hds-code-editor` Ember [modifier](/components/code-editor?tab=code#ember-modifier). To use this component, you must either include the yielded `Title` component, provide an `@ariaLabel`, or specify an `@ariaLabelledBy`. +The code editor is provided as both a `CodeEditor` component and as an `hds-code-editor` Ember [modifier](/components/code-editor?tab=code#ember-modifier). To use this component, you must either include the yielded `Title` component, provide an `@ariaLabel`, or specify an `@ariaLabelledBy`. -The code editor uses [CodeMirror 6](https://codemirror.net/) under the hood. ```handlebars diff --git a/website/docs/components/code-editor/partials/guidelines/guidelines.md b/website/docs/components/code-editor/partials/guidelines/guidelines.md index adf0103e3b..3cdaffcef6 100644 --- a/website/docs/components/code-editor/partials/guidelines/guidelines.md +++ b/website/docs/components/code-editor/partials/guidelines/guidelines.md @@ -50,7 +50,7 @@ Assume all users will understand the purpose of the Code Editor without providin The secondary actions section supports two optional buttons: the [Copy Button](/components/copy/button), and a “full screen” button. The Copy Button copies the content of the Code Editor to the clipboard, while the full screen button toggles the size of the Code Editor from inline view to full screen. -![The secondary actions container is shown twice, both with the Copy Button and full screen button. First showing the full screen button with the maximize icon and the second showing it with the minimize icon.](/assets/components/code-editor/code-editor-secondary-actions.png) +![The secondary actions container is shown twice, both with the Copy Button and full screen button; the first showing the full screen button with the maximize icon, and the second showing it with the minimize icon.](/assets/components/code-editor/code-editor-secondary-actions.png) ## Custom actions