Reference Fields
Rich Content (JSON)
A developer-preview field that stores JSON. Deprecated: Strife Studio shows it as a plain text box, so use the Rich Content field instead.
Note:
Studio offers this field only with developer preview turned on, and it is deprecated. Strife Studio shows it as a plain text box, not as the Rich Content editor. Use the Rich Content field instead.
Define with JSON
When defining templates using JSON, this field is represented using:
- Component Name:
str-textarea - Type:
json - Reference ID:
str-textarea|json
The settings above map into the editor.attributes object inside the JSON definition.
{
...
"editor": {
"name": "str-textarea",
"type": "json",
"propertyName": "...",
...
"attributes": {
"menuButtons": [...] //heading1|heading2|bold|etc...
"placeholderDocument": "..."//heading|paragraph|etc...
}
},
...
}Live preview
Note:
This field does not have any default Strife Web Components. Custom live preview implementations are fully supported.
Note:
For more information on live preview and Strife Web Components, please refer to the Live preview documentation.