Supported Features
Document | ✔ |
Media | ✗ |
Include | ✗ |
Document Creation Flow | ✗ |
Push Message | ✗ |
Table Dashboard | ✗ |
Display Filter | ✗ |
Search Indexing | ✗ |
System Metadata | ✗ |
Webhook Conditions | ✗ |
Description
This plugin is used to provide a suggested total character count for the text in the document.
Default UI
Input: Number input, or slider if steps
are defined.
Editor: Difference, Total Characters, Target Range, Characters in Focussed Component
Storage Format
{
characters: <Integer>
}
Content Type Config
{
handle: 'myContentType',
// ...
metadata: [
{
handle: 'myHandle'
type: 'li-target-length',
ui: {
config: {
acceptedCharacterDifference: 20, // Range above and below `value` considered accepted
// optional, allows picking a step instead of entering an exact number
steps: [
{
label: 'S', // use a short one, e.g. "S" "M" "L"
value: 100 // number of characters
},
{
label: 'M',
value: 200
}
],
// optional, allows the input of an exact number besides picking a step
allowAnyNumber: true
}
}
}
// ...
]
}