|
6 | 6 | keywords: admin, components, custom, documentation, Content Management System, cms, headless, javascript, node, react, nextjs |
7 | 7 | --- |
8 | 8 |
|
9 | | -The Edit View is where users interact with individual [Collection](../configuration/collections) and [Global](../configuration/globals) Documents within the [Admin Panel](../admin/overview). The Edit View contains the actual form in which submits the data to the server. This is where they can view, edit, and save their content. It contains controls for saving, publishing, and previewing the document, all of which can be customized to a high degree. |
| 9 | +The Edit View is where users interact with individual [Collection](../configuration/collections) and [Global](../configuration/globals) Documents within the [Admin Panel](../admin/overview). The Edit View contains the actual form that submits the data to the server. This is where they can view, edit, and save their content. It contains controls for saving, publishing, and previewing the document, all of which can be customized to a high degree. |
10 | 10 |
|
11 | 11 | The Edit View can be swapped out in its entirety for a Custom View, or it can be injected with a number of Custom Components to add additional functionality or presentational elements without replacing the entire view. |
12 | 12 |
|
13 | 13 | <Banner type="warning"> |
14 | 14 | **Note:** The Edit View is one of many [Document Views](./document-views) in |
15 | 15 | the Payload Admin Panel. Each Document View is responsible for a different |
16 | | - aspect of the interacting with a single Document. |
| 16 | + aspect of interacting with a single Document. |
17 | 17 | </Banner> |
18 | 18 |
|
19 | 19 | ## Custom Edit View |
@@ -74,7 +74,7 @@ In addition to swapping out the entire Edit View with a [Custom View](./custom-v |
74 | 74 |
|
75 | 75 | <Banner type="warning"> |
76 | 76 | **Important:** Collection and Globals are keyed to a different property in the |
77 | | - `admin.components` object have slightly different options. Be sure to use the |
| 77 | + `admin.components` object and have slightly different options. Be sure to use the |
78 | 78 | correct key for the entity you are working with. |
79 | 79 | </Banner> |
80 | 80 |
|
@@ -199,7 +199,7 @@ export function MySaveButton(props: SaveButtonClientProps) { |
199 | 199 |
|
200 | 200 | The `beforeDocumentControls` property allows you to render custom components just before the default document action buttons (like Save, Publish, or Preview). This is useful for injecting custom buttons, status indicators, or any other UI elements before the built-in controls. |
201 | 201 |
|
202 | | -To add `beforeDocumentControls` components, use the `components.edit.beforeDocumentControls` property in you [Collection Config](../configuration/collections) or `components.elements.beforeDocumentControls` in your [Global Config](../configuration/globals): |
| 202 | +To add `beforeDocumentControls` components, use the `components.edit.beforeDocumentControls` property in your [Collection Config](../configuration/collections) or `components.elements.beforeDocumentControls` in your [Global Config](../configuration/globals): |
203 | 203 |
|
204 | 204 | #### Collections |
205 | 205 |
|
|
0 commit comments