Key Text Templating with Javascript

The Key Text field allows content writers to enter a single string.

Usage

Here's an example of how to retrieve the text from a Key Text field with the API ID of title.

Copy
document.data.title