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