From 8b1535930dccadd8ad512a0cf40deec3d6be7341 Mon Sep 17 00:00:00 2001 From: Zubair Ibn Zamir Date: Tue, 8 Sep 2026 00:09:09 +0600 Subject: [PATCH] docs: fix spelling typos in .mdx docs Found by running cspell over the 225 .mdx files in packages/docs. Also corrects `` to `` in attribution.mdx and `IDeleteable` to `IDeletable`, which is the actual interface name. --- .../codelabs/custom-toolbox/adding-a-custom-toolbox-item.mdx | 2 +- packages/docs/docs/codelabs/getting-started/the-end.mdx | 2 +- packages/docs/docs/guides/app-integration/attribution.mdx | 4 ++-- packages/docs/docs/guides/configure/dragging/draggable.mdx | 2 +- packages/docs/docs/guides/configure/keyboard-shortcuts.mdx | 2 +- packages/docs/docs/guides/configure/metrics_manager.mdx | 2 +- .../contribute/core/building_and_compilation/building.mdx | 2 +- .../docs/docs/guides/contribute/core/testing/unit_testing.mdx | 2 +- packages/docs/docs/guides/contribute/samples.mdx | 2 +- .../docs/guides/create-custom-blocks/define/block-anatomy.mdx | 2 +- .../icons/creating-custom-icons/save-and-load.mdx | 2 +- packages/docs/docs/guides/create-custom-blocks/mutators.mdx | 2 +- packages/docs/docs/guides/programming/plugin_overview.mdx | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/docs/docs/codelabs/custom-toolbox/adding-a-custom-toolbox-item.mdx b/packages/docs/docs/codelabs/custom-toolbox/adding-a-custom-toolbox-item.mdx index 7ed1fd65859..51c5b8686ea 100644 --- a/packages/docs/docs/codelabs/custom-toolbox/adding-a-custom-toolbox-item.mdx +++ b/packages/docs/docs/codelabs/custom-toolbox/adding-a-custom-toolbox-item.mdx @@ -81,7 +81,7 @@ In order to create a toolbox item we must implement one of the toolbox item inte For this example, we will be implementing the basic `IToolboxItem` interface. There are three different types of toolbox item interfaces: -`IToolboxItem`, `ISelectableToobloxItem` and `ICollapsibleToolboxItem`. +`IToolboxItem`, `ISelectableToolboxItem` and `ICollapsibleToolboxItem`. Since we do not need our label to be selectable or collapsible, we can implement the basic `IToolboxItem` interface. diff --git a/packages/docs/docs/codelabs/getting-started/the-end.mdx b/packages/docs/docs/codelabs/getting-started/the-end.mdx index 22a27233c31..5d529e9ac24 100644 --- a/packages/docs/docs/codelabs/getting-started/the-end.mdx +++ b/packages/docs/docs/codelabs/getting-started/the-end.mdx @@ -15,7 +15,7 @@ What you've built today is almost identical to Blocky's sample app. 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. One key difference to note between this codelab and the sample app is the toolbox. -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. +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. For instance, when using a category toolbox, the `scrollbars` option will default to `true`, making scrollbars appear on the workspace automatically. 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. diff --git a/packages/docs/docs/guides/app-integration/attribution.mdx b/packages/docs/docs/guides/app-integration/attribution.mdx index 53d321a8487..ac2a24d5c0d 100644 --- a/packages/docs/docs/guides/app-integration/attribution.mdx +++ b/packages/docs/docs/guides/app-integration/attribution.mdx @@ -58,7 +58,7 @@ To give Blockly attribution in your app or website, please use one of the following logos, depending on background color: - + - +
diff --git a/packages/docs/docs/guides/configure/dragging/draggable.mdx b/packages/docs/docs/guides/configure/dragging/draggable.mdx index 68489b931d9..290426c075d 100644 --- a/packages/docs/docs/guides/configure/dragging/draggable.mdx +++ b/packages/docs/docs/guides/configure/dragging/draggable.mdx @@ -201,7 +201,7 @@ other systems in Blockly. ### Deletable -You can implement the [`IDeleteable`][IDeletable] interface to allow your +You can implement the [`IDeletable`][IDeletable] interface to allow your draggable to be disposed by the trashcan or other delete targets. ```js diff --git a/packages/docs/docs/guides/configure/keyboard-shortcuts.mdx b/packages/docs/docs/guides/configure/keyboard-shortcuts.mdx index 53e4bdb231d..6571855abfc 100644 --- a/packages/docs/docs/guides/configure/keyboard-shortcuts.mdx +++ b/packages/docs/docs/guides/configure/keyboard-shortcuts.mdx @@ -159,7 +159,7 @@ This is not common. If your keyboard shortcut is activated by a combination of keys, such as holding `Control` and `C` simultaneously, create a serialized keycode by calling `Blockly.ShortcutRegistry.registry.createSerializedKey`. On Windows and Linux -many shortcuts are activated with the `Control` key. On Apple plaforms these +many shortcuts are activated with the `Control` key. On Apple platforms these keyboard shortcuts use the `Command` key instead. Register your shortcuts with the `CTRL_CMD` keycode whenever you want your shortcut to use the system's primary modifier key. Blockly will map the key combination appropriately. diff --git a/packages/docs/docs/guides/configure/metrics_manager.mdx b/packages/docs/docs/guides/configure/metrics_manager.mdx index c360f4d1064..527842da145 100644 --- a/packages/docs/docs/guides/configure/metrics_manager.mdx +++ b/packages/docs/docs/guides/configure/metrics_manager.mdx @@ -91,7 +91,7 @@ workspace the top and left position of the viewport are updated. `workspace.getMetricsManager().getAbsoluteMetrics();` The absolute metrics are composed of the `top` and `left` offset of the viewport -from the pareng SVG. Depending on where the toolbox is positioned on the +from the parent SVG. Depending on where the toolbox is positioned on the workspace, this is usually the width or height of the toolbox. An addition block built from three dummy inputs, each wieht a single field. diff --git a/packages/docs/docs/guides/create-custom-blocks/icons/creating-custom-icons/save-and-load.mdx b/packages/docs/docs/guides/create-custom-blocks/icons/creating-custom-icons/save-and-load.mdx index 8916831381f..4bc9339f83c 100644 --- a/packages/docs/docs/guides/create-custom-blocks/icons/creating-custom-icons/save-and-load.mdx +++ b/packages/docs/docs/guides/create-custom-blocks/icons/creating-custom-icons/save-and-load.mdx @@ -49,7 +49,7 @@ interface. This method can return arbitrary json, which gets passed to your ```js saveState() { - return this.state; // Some arbirtary JSON-compatible data. + return this.state; // Some arbitrary JSON-compatible data. } ``` diff --git a/packages/docs/docs/guides/create-custom-blocks/mutators.mdx b/packages/docs/docs/guides/create-custom-blocks/mutators.mdx index 82e38917e48..f7e8e60a635 100644 --- a/packages/docs/docs/guides/create-custom-blocks/mutators.mdx +++ b/packages/docs/docs/guides/create-custom-blocks/mutators.mdx @@ -222,7 +222,7 @@ compose: function(topBlock) { } } - // Then we update the shape of our block (removing or adding iputs as necessary). + // Then we update the shape of our block (removing or adding inputs as necessary). // `this` refers to the main block. this.itemCount_ = connections.length; this.updateShape_(); diff --git a/packages/docs/docs/guides/programming/plugin_overview.mdx b/packages/docs/docs/guides/programming/plugin_overview.mdx index 52d1893a264..d694cbdadc0 100644 --- a/packages/docs/docs/guides/programming/plugin_overview.mdx +++ b/packages/docs/docs/guides/programming/plugin_overview.mdx @@ -165,7 +165,7 @@ you can simply check your Blockly version and use the same plugin version.
What if I'm using a major version of Blockly that's older than v13? -Keeping Blockly up-to-date is strongly reccomended, so that you get the newest +Keeping Blockly up-to-date is strongly recommended, so that you get the newest features and fixes. However, if you can't upgrade Blockly, you can use the following npm command to list all of the pre-v13 versions of a plugin alongside the minimum Blockly version that they support: