Skip to content

Commit

Permalink
Fix typo in example tags in the guides
Browse files Browse the repository at this point in the history
  • Loading branch information
sequba committed May 23, 2024
1 parent aefd67d commit 34f89ca
Show file tree
Hide file tree
Showing 38 changed files with 99 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Make some changes to the grid below and the use the <kbd>**Ctrl**</kbd>/<kbd>**C

::: only-for javascript

::: example #example --js 1 --ts 3
::: example #example --js 1 --ts 2

@[code](@/content/guides/accessories-and-menus/undo-redo/javascript/example.js)
@[code](@/content/guides/accessories-and-menus/undo-redo/javascript/example.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Using the tiny square known as the 'fill handle' in the corner of the selected c

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-features/autofill-values/javascript/example1.js)
@[code](@/content/guides/cell-features/autofill-values/javascript/example1.ts)
Expand All @@ -57,7 +57,7 @@ In this configuration, the fill handle is restricted to move only vertically. Ne

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/cell-features/autofill-values/javascript/example2.js)
@[code](@/content/guides/cell-features/autofill-values/javascript/example2.ts)
Expand Down
4 changes: 2 additions & 2 deletions docs/content/guides/cell-features/clipboard/clipboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ You can use them in the same way as the rest of the predefined items in the [con

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-features/clipboard/javascript/example1.js)
@[code](@/content/guides/cell-features/clipboard/javascript/example1.ts)
Expand Down Expand Up @@ -151,7 +151,7 @@ Right-click on a cell to try it out:

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/cell-features/clipboard/javascript/example2.js)
@[code](@/content/guides/cell-features/clipboard/javascript/example2.ts)
Expand Down
8 changes: 4 additions & 4 deletions docs/content/guides/cell-features/comments/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ In this example, the comment "Hello world!" is added to the cell at `(1,1)`.

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-features/comments/javascript/example1.js)
@[code](@/content/guides/cell-features/comments/javascript/example1.ts)
Expand All @@ -117,7 +117,7 @@ By default, all comments are editable. To change this, set the [`readOnly`](@/ap

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/cell-features/comments/javascript/example2.js)
@[code](@/content/guides/cell-features/comments/javascript/example2.ts)
Expand All @@ -142,7 +142,7 @@ To set the width and height of a comment box, use the [`style`](@/api/options.md

::: only-for javascript

::: example #example3 --js 1 --ts 3
::: example #example3 --js 1 --ts 2

@[code](@/content/guides/cell-features/comments/javascript/example3.js)
@[code](@/content/guides/cell-features/comments/javascript/example3.ts)
Expand All @@ -167,7 +167,7 @@ To display comments after a pre-configured time delay, use the [`displayDelay`](

::: only-for javascript

::: example #example4 --js 1 --ts 3
::: example #example4 --js 1 --ts 2

@[code](@/content/guides/cell-features/comments/javascript/example4.js)
@[code](@/content/guides/cell-features/comments/javascript/example4.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can make the entire grid read-only by setting [`readOnly`](@/api/options.md#

::: only-for javascript

::: example #exampleReadOnlyGrid --js 1 --ts 3
::: example #exampleReadOnlyGrid --js 1 --ts 2

@[code](@/content/guides/cell-features/disabled-cells/javascript/exampleReadOnlyGrid.js)
@[code](@/content/guides/cell-features/disabled-cells/javascript/exampleReadOnlyGrid.ts)
Expand All @@ -68,7 +68,7 @@ To make a column read-only, declare it in the [`columns`](@/api/options.md#colum

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-features/disabled-cells/javascript/example1.js)
@[code](@/content/guides/cell-features/disabled-cells/javascript/example1.ts)
Expand All @@ -93,7 +93,7 @@ This example makes cells that contain the word "Nissan" read-only. It forces all

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/cell-features/disabled-cells/javascript/example2.js)
@[code](@/content/guides/cell-features/disabled-cells/javascript/example2.ts)
Expand Down Expand Up @@ -122,7 +122,7 @@ To make a column non-editable, declare it in the [`columns`](@/api/options.md#co

::: only-for javascript

::: example #example3 --js 1 --ts 3
::: example #example3 --js 1 --ts 2

@[code](@/content/guides/cell-features/disabled-cells/javascript/example3.js)
@[code](@/content/guides/cell-features/disabled-cells/javascript/example3.ts)
Expand All @@ -147,7 +147,7 @@ The following example shows the table with non-editable cells containing the wor

::: only-for javascript

::: example #example4 --js 1 --ts 3
::: example #example4 --js 1 --ts 2

@[code](@/content/guides/cell-features/disabled-cells/javascript/example4.js)
@[code](@/content/guides/cell-features/disabled-cells/javascript/example4.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ You can apply inline styles directly to the DOM element using its `style` proper

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/cell-features/formatting-cells/javascript/example2.js)
@[code](@/content/guides/cell-features/formatting-cells/javascript/example2.ts)
Expand Down Expand Up @@ -89,7 +89,7 @@ In the names of the API properties, the words `start` and `end` refer to the sta

::: only-for javascript

::: example #example3 --js 1 --ts 3
::: example #example3 --js 1 --ts 2

@[code](@/content/guides/cell-features/formatting-cells/javascript/example3.js)
@[code](@/content/guides/cell-features/formatting-cells/javascript/example3.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To initialize Handsontable with predefined merged cells, provide merged cells de

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-features/merge-cells/javascript/example1.js)
@[code](@/content/guides/cell-features/merge-cells/javascript/example1.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The following code sample configures the grid to use `htCenter` and configures i

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-features/text-alignment/javascript/example1.js)
@[code](@/content/guides/cell-features/text-alignment/javascript/example1.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ This example shows how to use custom cell renderers to display HTML content in a

::: only-for javascript

::: example #example4 --js 1 --ts 3
::: example #example4 --js 1 --ts 2

@[code](@/content/guides/cell-functions/cell-renderer/javascript/example4.js)
@[code](@/content/guides/cell-functions/cell-renderer/javascript/example4.ts)
Expand Down
4 changes: 2 additions & 2 deletions docs/content/guides/cell-types/cell-type/cell-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ The example below shows some of the built-in cell types, i.e. combinations of ce

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-types/cell-type/javascript/example1.js)
@[code](@/content/guides/cell-types/cell-type/javascript/example1.ts)
Expand Down Expand Up @@ -458,7 +458,7 @@ Please keep in mind that opening a cell with `undefined` and `null` values resul

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/cell-types/cell-type/javascript/example2.js)
@[code](@/content/guides/cell-types/cell-type/javascript/example2.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This is the default usage scenario where column data has a `true` or `false` val

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-types/checkbox-cell-type/javascript/example1.js)
@[code](@/content/guides/cell-types/checkbox-cell-type/javascript/example1.ts)
Expand All @@ -59,7 +59,7 @@ If you want to use values other than `true` and `false`, you have to provide thi

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/cell-types/checkbox-cell-type/javascript/example2.js)
@[code](@/content/guides/cell-types/checkbox-cell-type/javascript/example2.ts)
Expand All @@ -84,7 +84,7 @@ To add a label to the checkbox, use the [`label`](@/api/options.md#label) option

::: only-for javascript

::: example #example3 --js 1 --ts 3
::: example #example3 --js 1 --ts 2

@[code](@/content/guides/cell-types/checkbox-cell-type/javascript/example3.js)
@[code](@/content/guides/cell-types/checkbox-cell-type/javascript/example3.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Click on one of the ▼ icons to open an interactive date editor.

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-types/date-cell-type/javascript/example1.js)
@[code](@/content/guides/cell-types/date-cell-type/javascript/example1.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The password cell type behaves like a text cell, the only difference being that

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-types/password-cell-type/javascript/example1.js)
@[code](@/content/guides/cell-types/password-cell-type/javascript/example1.ts)
Expand All @@ -49,7 +49,7 @@ By default, every hash has a length equal to the length of its corresponding val

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/cell-types/password-cell-type/javascript/example2.js)
@[code](@/content/guides/cell-types/password-cell-type/javascript/example2.ts)
Expand All @@ -74,7 +74,7 @@ By default, every hash consists of asterisks `*`. Use the option `hashSymbol` to

::: only-for javascript

::: example #example3 --js 1 --ts 3
::: example #example3 --js 1 --ts 2

@[code](@/content/guides/cell-types/password-cell-type/javascript/example3.js)
@[code](@/content/guides/cell-types/password-cell-type/javascript/example3.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The select editor should be considered an example of how to write editors rather

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-types/select-cell-type/javascript/example1.js)
@[code](@/content/guides/cell-types/select-cell-type/javascript/example1.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ By default, the values entered into the time-type column are not validated, so i

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/cell-types/time-cell-type/javascript/example1.js)
@[code](@/content/guides/cell-types/time-cell-type/javascript/example1.ts)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If your [layout direction](@/guides/internationalization/layout-direction/layout

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/columns/column-freezing/javascript/example1.js)
@[code](@/content/guides/columns/column-freezing/javascript/example1.ts)
Expand All @@ -66,7 +66,7 @@ Mind that when you unfreeze a frozen column, it doesn't go back to the original

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/columns/column-freezing/javascript/example2.js)
@[code](@/content/guides/columns/column-freezing/javascript/example2.ts)
Expand Down
4 changes: 2 additions & 2 deletions docs/content/guides/columns/column-groups/column-groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ nestedHeaders={[

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/columns/column-groups/javascript/example1.js)
@[code](@/content/guides/columns/column-groups/javascript/example1.ts)
Expand Down Expand Up @@ -123,7 +123,7 @@ collapsibleColumns={[

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/columns/column-groups/javascript/example2.js)
@[code](@/content/guides/columns/column-groups/javascript/example2.ts)
Expand Down
6 changes: 3 additions & 3 deletions docs/content/guides/columns/column-header/column-header.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Setting the [`colHeaders`](@/api/options.md#colheaders) option to `true` enables

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/columns/column-header/javascript/example1.js)
@[code](@/content/guides/columns/column-header/javascript/example1.ts)
Expand All @@ -54,7 +54,7 @@ An array of labels can be used to set the [`colHeaders`](@/api/options.md#colhea

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/columns/column-header/javascript/example2.js)
@[code](@/content/guides/columns/column-header/javascript/example2.ts)
Expand All @@ -78,7 +78,7 @@ The [`colHeaders`](@/api/options.md#colheaders) can also be populated using a fu

::: only-for javascript

::: example #example3 --js 1 --ts 3
::: example #example3 --js 1 --ts 2

@[code](@/content/guides/columns/column-header/javascript/example3.js)
@[code](@/content/guides/columns/column-header/javascript/example3.ts)
Expand Down
12 changes: 6 additions & 6 deletions docs/content/guides/columns/column-hiding/column-hiding.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To enable column hiding, use the [`hiddenColumns`](@/api/options.md#hiddencolumn

::: only-for javascript

::: example #example1 --js 1 --ts 3
::: example #example1 --js 1 --ts 2

@[code](@/content/guides/columns/column-hiding/javascript/example1.js)
@[code](@/content/guides/columns/column-hiding/javascript/example1.ts)
Expand Down Expand Up @@ -72,7 +72,7 @@ Now, those columns are hidden by default:

::: only-for javascript

::: example #example2 --js 1 --ts 3
::: example #example2 --js 1 --ts 2

@[code](@/content/guides/columns/column-hiding/javascript/example2.js)
@[code](@/content/guides/columns/column-hiding/javascript/example2.ts)
Expand Down Expand Up @@ -109,7 +109,7 @@ If you use both the [`NestedHeaders`](@/api/nestedHeaders.md) plugin and the

::: only-for javascript

::: example #example3 --js 1 --ts 3
::: example #example3 --js 1 --ts 2

@[code](@/content/guides/columns/column-hiding/javascript/example3.js)
@[code](@/content/guides/columns/column-hiding/javascript/example3.ts)
Expand Down Expand Up @@ -139,7 +139,7 @@ additional items for hiding and unhiding columns.

::: only-for javascript

::: example #example4 --js 1 --ts 3
::: example #example4 --js 1 --ts 2

@[code](@/content/guides/columns/column-hiding/javascript/example4.js)
@[code](@/content/guides/columns/column-hiding/javascript/example4.ts)
Expand All @@ -166,7 +166,7 @@ strings to the[ `contextMenu`](@/api/contextMenu.md) parameter:

::: only-for javascript

::: example #example5 --js 1 --ts 3
::: example #example5 --js 1 --ts 2

@[code](@/content/guides/columns/column-hiding/javascript/example5.js)
@[code](@/content/guides/columns/column-hiding/javascript/example5.ts)
Expand Down Expand Up @@ -194,7 +194,7 @@ object, set the [`copyPasteEnabled`](@/api/hiddenColumns.md) property to `false`

::: only-for javascript

::: example #example6 --js 1 --ts 3
::: example #example6 --js 1 --ts 2

@[code](@/content/guides/columns/column-hiding/javascript/example6.js)
@[code](@/content/guides/columns/column-hiding/javascript/example6.ts)
Expand Down

0 comments on commit 34f89ca

Please sign in to comment.