> This page is for Designer API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# Text Content

> Manage an element's text content.

Managing text content is essential for keeping content fresh and relevant. These methods let you handle an element's text, ensuring it's always up-to-date.

To effectively use the methods, choose an element that already has its `textContent` property set to `true`. This property is read-only, so it's important to select elements that have this attribute. Using these methods with elements that don't have this property will return an error.

## Methods

The Text Content property supports the following methods:

#### [Get text content](/designer/reference/get-text-content)

Get text content from an element.

#### [Set text content](/designer/reference/set-text-content)

Get text content from an element.