Designer API
Control the Webflow Designer
page.setDescription(description)
Set the description of the page.
1page.setDescription(description: string | null): Promise<null>
string | null
Promise<null>
null
A promise that resolves to null.
1// Get Current Page2const currentPage = await webflow.getCurrentPage() as Page34// Set page Description5await currentPage.setDescription("My New Description")6console.log(pageDescription)
Try this example