☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

text

Table of contents

Description:

This key defines the static text string to display in a text preview entry.

The value is a string that specifies static text to display on Cards in the Collection browser, Structures, and Snippets.

Appears in:
└── Text Preview Entry
    └── text
Type:
string Required
Examples:

In this example, we have configured the text value to display a static fallback message.

Copied to clipboard
collections_config:
  blog:
    preview:
      text:
        - text: Untitled
{
  "collections_config": {
    "blog": {
      "preview": {
        "text": [
          {
            "text": "Untitled"
          }
        ]
      }
    }
  }
}
Open in a new tab