Skip to content

Commit 9db3351

Browse files
authored
docs: fix spelling typos in .mdx docs (#10412)
Found by running cspell over the 225 .mdx files in packages/docs. Also corrects `<theader>` to `<thead>` in attribution.mdx and `IDeleteable` to `IDeletable`, which is the actual interface name.
1 parent b305706 commit 9db3351

13 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎packages/docs/docs/codelabs/custom-toolbox/adding-a-custom-toolbox-item.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ In order to create a toolbox item we must implement one of the toolbox item inte
8181

8282
For this example, we will be implementing the basic `IToolboxItem` interface.
8383
There are three different types of toolbox item interfaces:
84-
`IToolboxItem`, `ISelectableToobloxItem` and `ICollapsibleToolboxItem`.
84+
`IToolboxItem`, `ISelectableToolboxItem` and `ICollapsibleToolboxItem`.
8585
Since we do not need our label to be selectable or collapsible, we can implement
8686
the basic `IToolboxItem` interface.
8787

‎packages/docs/docs/codelabs/getting-started/the-end.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ What you've built today is almost identical to Blocky's sample app.
1515
To make your own Blockly project, you can follow the instructions to install the sample app from the [sample app overview](/guides/get-started/sample-app-overview) or continue building off this codelab.
1616

1717
One key difference to note between this codelab and the sample app is the toolbox.
18-
The sample app's toolbox is a category toolbox, which changes some of the default [configuration](/guides/configure/configuration_struct#the-options-dictionary) values discussed in the [create a Blockly workpace](/codelabs/getting-started/create-a-blockly-workspace) step.
18+
The sample app's toolbox is a category toolbox, which changes some of the default [configuration](/guides/configure/configuration_struct#the-options-dictionary) values discussed in the [create a Blockly workspace](/codelabs/getting-started/create-a-blockly-workspace) step.
1919
For instance, when using a category toolbox, the `scrollbars` option will default to `true`, making scrollbars appear on the workspace automatically.
2020

2121
The sample app also includes *all* of Blockly's built-in blocks. We strongly recommend against using every built-in block in your toolbox. Instead, you should carefully select the blocks that your users may need.

‎packages/docs/docs/guides/app-integration/attribution.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ To give Blockly attribution in your app or website, please use one of the
5858
following logos, depending on background color:
5959

6060
<table>
61-
<theader>
61+
<thead>
6262
<tr>
6363
<th style={{ backgroundColor: 'white' }}>
6464
<Image
@@ -75,7 +75,7 @@ following logos, depending on background color:
7575
/>
7676
</th>
7777
</tr>
78-
</theader>
78+
</thead>
7979
<tbody>
8080
<tr>
8181
<td>

‎packages/docs/docs/guides/configure/dragging/draggable.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ other systems in Blockly.
201201
202202
### Deletable
203203
204-
You can implement the [`IDeleteable`][IDeletable] interface to allow your
204+
You can implement the [`IDeletable`][IDeletable] interface to allow your
205205
draggable to be disposed by the trashcan or other delete targets.
206206
207207
```js

‎packages/docs/docs/guides/configure/keyboard-shortcuts.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ This is not common.
159159
If your keyboard shortcut is activated by a combination of keys, such as holding
160160
`Control` and `C` simultaneously, create a serialized keycode by calling
161161
`Blockly.ShortcutRegistry.registry.createSerializedKey`. On Windows and Linux
162-
many shortcuts are activated with the `Control` key. On Apple plaforms these
162+
many shortcuts are activated with the `Control` key. On Apple platforms these
163163
keyboard shortcuts use the `Command` key instead. Register your shortcuts with
164164
the `CTRL_CMD` keycode whenever you want your shortcut to use the system's
165165
primary modifier key. Blockly will map the key combination appropriately.

‎packages/docs/docs/guides/configure/metrics_manager.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ workspace the top and left position of the viewport are updated.
9191
`workspace.getMetricsManager().getAbsoluteMetrics();`
9292

9393
The absolute metrics are composed of the `top` and `left` offset of the viewport
94-
from the pareng SVG. Depending on where the toolbox is positioned on the
94+
from the parent SVG. Depending on where the toolbox is positioned on the
9595
workspace, this is usually the width or height of the toolbox.
9696

9797
<Image

‎packages/docs/docs/guides/contribute/core/building_and_compilation/building.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ follows:
166166
`build/src/generators/javascript.js`) become `dist/javascript_compressed.js`.
167167
- And likewise for `dart`, `lua`, `php`, and `python`.
168168

169-
The generated chuks use a wrapper to ensure compatibility with the [Universal
169+
The generated chunks use a wrapper to ensure compatibility with the [Universal
170170
Module Definition](https://github.com/umdjs/umd) so no extra processing is
171171
needed before they are included in the package.
172172

‎packages/docs/docs/guides/contribute/core/testing/unit_testing.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ immediately (will stub by default).
9696
(i.e. you did not define it in the outermost suite), you must manually
9797
dispose of it by calling `workspaceTeardown.call(this, this.workspace)`
9898
in the teardown of that suite.
99-
- If you define `this.workpace` in the outermost suite, but then redefine
99+
- If you define `this.workspace` in the outermost suite, but then redefine
100100
it in an inner test suite, you must first call
101101
`workspaceTeardown.call(this, this.workspace)` **before redefining it**
102102
to tear down the original workspace defined in the top level suite. You

‎packages/docs/docs/guides/contribute/samples.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ image: images/blockly_banner.png
77
# Blockly samples
88

99
The [blockly-samples](https://github.com/RaspberryPiFoundation/blockly-samples)
10-
respository contains extra content related to Blockly that isn't part of the
10+
repository contains extra content related to Blockly that isn't part of the
1111
core repository. There are two main pieces of blockly-samples:
1212

1313
1. [Examples](#examples)

‎packages/docs/docs/guides/create-custom-blocks/define/block-anatomy.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ number):
154154
or three dummy inputs, each with a single field:
155155

156156
<Image
157-
alt="An addition block built from three dummy inputs, each wieht a single field."
157+
alt="An addition block built from three dummy inputs, each with a single field."
158158
src="/images/block-anatomy/dummy-input-3-1.png"
159159
srcDark="/images/block-anatomy/dummy-input-3-1-dark.png"
160160
/>

0 commit comments

Comments
 (0)