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

Raw Text Preview Entry

Table of contents

Description:

This key represents a raw text preview entry type for displaying static text on Cards in the Collection browser, Structures, and Snippets.

The value is a string that specifies static text to display in card previews. This is equivalent to using { text: "..." } but in a simpler format.

Appears in:
├── Preview Entry
│   └── Raw Text Preview Entry
├── _inputs
│   └── *
│       └── Text Input
│           └── options
│               ├── icon_color
│               │   └── Raw Text Preview Entry
│               └── icon_background_color
│                   └── Raw Text Preview Entry
├── text
│   └── Raw Text Preview Entry
├── subtext
│   └── Raw Text Preview Entry
├── image
│   └── Raw Text Preview Entry
├── icon
│   └── Raw Text Preview Entry
├── icon_color
│   └── Raw Text Preview Entry
├── icon_background_color
│   └── Raw Text Preview Entry
└── background_color
    └── Raw Text Preview Entry
Type:
string
Examples:

In this example, we have configured a raw text preview entry to display static text.

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