From fc5944840ed82c490d01004e5250d3ff960c3c60 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez <16825879+ja-martinez@users.noreply.github.com> Date: Tue, 29 Jul 2025 11:16:19 -0700 Subject: [PATCH] docs: remove asterisk from optional url property in live preview docs (#13108) ### What? url option is not required for Link Preview, so I removed the asterisk. ### Why? Here is the type definition [Type Definition Link](https://github.com/payloadcms/payload/blob/c6105f1e0d66ebbd7e82379f8f52e9b4647e43ef/packages/payload/src/config/types.ts#L159) --- docs/live-preview/overview.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/live-preview/overview.mdx b/docs/live-preview/overview.mdx index 8f2745b5d..5635b1180 100644 --- a/docs/live-preview/overview.mdx +++ b/docs/live-preview/overview.mdx @@ -45,13 +45,11 @@ The following options are available: | Path | Description | | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| **`url`** \* | String, or function that returns a string, pointing to your front-end application. This value is used as the iframe `src`. [More details](#url). | +| **`url`** | String, or function that returns a string, pointing to your front-end application. This value is used as the iframe `src`. [More details](#url). | | **`breakpoints`** | Array of breakpoints to be used as “device sizes” in the preview window. Each item appears as an option in the toolbar. [More details](#breakpoints). | | **`collections`** | Array of collection slugs to enable Live Preview on. | | **`globals`** | Array of global slugs to enable Live Preview on. | -_\* An asterisk denotes that a property is required._ - ### URL The `url` property resolves to a string that points to your front-end application. This value is used as the `src` attribute of the iframe rendering your front-end. Once loaded, the Admin Panel will communicate directly with your app through `window.postMessage` events.