Skip to content

Commit b6de432

Browse files
authored
docs: fix all missing vertical lines in tables (#10288)
1 parent 950f8ce commit b6de432

File tree

10 files changed

+75
-76
lines changed

10 files changed

+75
-76
lines changed

docs/admin/collections.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ export const MyCollection: SanitizedCollectionConfig = {
6565

6666
The following options are available:
6767

68-
| Path | Description |
69-
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
70-
| **`beforeList`** | An array of components to inject _before_ the built-in List View |
71-
| **`beforeListTable`** | An array of components to inject _before_ the built-in List View's table |
72-
| **`afterList`** | An array of components to inject _after_ the built-in List View |
73-
| **`afterListTable`** | An array of components to inject _after_ the built-in List View's table
74-
| **`Description`** | A component to render below the Collection label in the List View. An alternative to the `admin.description` property. |
75-
| **`edit.SaveButton`** | Replace the default Save Button with a Custom Component. [Drafts](../versions/drafts) must be disabled. |
68+
| Path | Description |
69+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
70+
| **`beforeList`** | An array of components to inject _before_ the built-in List View |
71+
| **`beforeListTable`** | An array of components to inject _before_ the built-in List View's table |
72+
| **`afterList`** | An array of components to inject _after_ the built-in List View |
73+
| **`afterListTable`** | An array of components to inject _after_ the built-in List View's table |
74+
| **`Description`** | A component to render below the Collection label in the List View. An alternative to the `admin.description` property. |
75+
| **`edit.SaveButton`** | Replace the default Save Button with a Custom Component. [Drafts](../versions/drafts) must be disabled. |
7676
| **`edit.SaveDraftButton`** | Replace the default Save Draft Button with a Custom Component. [Drafts](../versions/drafts) must be enabled and autosave must be disabled. |
7777
| **`edit.PublishButton`** | Replace the default Publish Button with a Custom Component. [Drafts](../versions/drafts) must be enabled. |
78-
| **`edit.PreviewButton`** | Replace the default Preview Button with a Custom Component. [Preview](#preview) must be enabled. |
79-
| **`views`** | Override or create new views within the Admin Panel. [More details](./views). |
78+
| **`edit.PreviewButton`** | Replace the default Preview Button with a Custom Component. [Preview](#preview) must be enabled. |
79+
| **`views`** | Override or create new views within the Admin Panel. [More details](./views). |
8080

8181
<Banner type="success">
8282
**Note:**

docs/admin/fields.mdx

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -242,31 +242,31 @@ _For details on how to build Custom Components, see [Building Custom Components]
242242

243243
All Field Components receive the following props by default:
244244

245-
| Property | Description |
246-
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
247-
| **`docPreferences`** | An object that contains the [Preferences](./preferences) for the document.
248-
| **`field`** | In Client Components, this is the sanitized Client Field Config. In Server Components, this is the original Field Config. Server Components will also receive the sanitized field config through the`clientField` prop (see below). |
249-
| **`locale`** | The locale of the field. [More details](../configuration/localization). |
250-
| **`readOnly`** | A boolean value that represents if the field is read-only or not. |
251-
| **`user`** | The currently authenticated user. [More details](../authentication/overview). |
252-
| **`validate`** | A function that can be used to validate the field. |
253-
| **`path`** | A string representing the direct, dynamic path to the field at runtime, i.e. `myGroup.myArray.0.myField`. |
254-
| **`schemaPath`** | A string representing the direct, static path to the [Field Config](../fields/overview), i.e. `posts.myGroup.myArray.myField`. |
255-
| **`indexPath`** | A hyphen-notated string representing the path to the field _within the nearest named ancestor field_, i.e. `0-0` |
245+
| Property | Description |
246+
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
247+
| **`docPreferences`** | An object that contains the [Preferences](./preferences) for the document. |
248+
| **`field`** | In Client Components, this is the sanitized Client Field Config. In Server Components, this is the original Field Config. Server Components will also receive the sanitized field config through the`clientField` prop (see below). |
249+
| **`locale`** | The locale of the field. [More details](../configuration/localization). |
250+
| **`readOnly`** | A boolean value that represents if the field is read-only or not. |
251+
| **`user`** | The currently authenticated user. [More details](../authentication/overview). |
252+
| **`validate`** | A function that can be used to validate the field. |
253+
| **`path`** | A string representing the direct, dynamic path to the field at runtime, i.e. `myGroup.myArray.0.myField`. |
254+
| **`schemaPath`** | A string representing the direct, static path to the [Field Config](../fields/overview), i.e. `posts.myGroup.myArray.myField`. |
255+
| **`indexPath`** | A hyphen-notated string representing the path to the field _within the nearest named ancestor field_, i.e. `0-0` |
256256

257257
In addition to the above props, all Server Components will also receive the following props:
258258

259-
| Property | Description |
260-
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
261-
| **`clientField`** | The serializable Client Field Config. |
262-
| **`field`** | The Field Config. [More details](../fields/overview). |
263-
| **`data`** | The current document being edited. |
264-
| **`i18n`** | The [i18n](../configuration/i18n) object.
265-
| **`payload`** | The [Payload](../local-api/overview) class. |
266-
| **`permissions`** | The field permissions based on the currently authenticated user. |
267-
| **`siblingData`** | The data of the field's siblings. |
268-
| **`user`** | The currently authenticated user. [More details](../authentication/overview). |
269-
| **`value`** | The value of the field at render-time. |
259+
| Property | Description |
260+
| ----------------- | ----------------------------------------------------------------------------- |
261+
| **`clientField`** | The serializable Client Field Config. |
262+
| **`field`** | The Field Config. [More details](../fields/overview). |
263+
| **`data`** | The current document being edited. |
264+
| **`i18n`** | The [i18n](../configuration/i18n) object. |
265+
| **`payload`** | The [Payload](../local-api/overview) class. |
266+
| **`permissions`** | The field permissions based on the currently authenticated user. |
267+
| **`siblingData`** | The data of the field's siblings. |
268+
| **`user`** | The currently authenticated user. [More details](../authentication/overview). |
269+
| **`value`** | The value of the field at render-time. |
270270

271271
#### Sending and receiving values from the form
272272

docs/fields/blocks.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ Blocks are defined as separate configs of their own.
145145

146146
| Option | Description |
147147
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
148-
| **`slug`** * | Identifier for this block type. Will be saved on each block as the `blockType` property. |
149-
| **`fields`** * | Array of fields to be stored in this block. |
148+
| **`slug`** * | Identifier for this block type. Will be saved on each block as the `blockType` property. |
149+
| **`fields`** * | Array of fields to be stored in this block. |
150150
| **`labels`** | Customize the block labels that appear in the Admin dashboard. Auto-generated from slug if not defined. |
151151
| **`imageURL`** | Provide a custom image thumbnail to help editors identify this block in the Admin UI. |
152152
| **`imageAltText`** | Customize this block's image thumbnail alt text. |
153153
| **`interfaceName`** | Create a top level, reusable [Typescript interface](/docs/typescript/generating-types#custom-field-interfaces) & [GraphQL type](/docs/graphql/graphql-schema#custom-field-schemas). |
154154
| **`graphQL.singularName`** | Text to use for the GraphQL schema name. Auto-generated from slug if not defined. NOTE: this is set for deprecation, prefer `interfaceName`. |
155-
| **`dbName`** | Custom table name for this block type when using SQL Database Adapter ([Postgres](/docs/database/postgres)). Auto-generated from slug if not defined.
155+
| **`dbName`** | Custom table name for this block type when using SQL Database Adapter ([Postgres](/docs/database/postgres)). Auto-generated from slug if not defined. |
156156
| **`custom`** | Extension point for adding custom data (e.g. for plugins) |
157157

158158
### Auto-generated data per block

0 commit comments

Comments
 (0)