site.mochott.block
Record representing a custom block that can be inserted into articles by any user.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | mochott.site |
| Indexed |
Record
record · key tidProperties
category
stringCategory for marketplace organization.
maxLength: 100
Timestamp when the block was created.
Scoped CSS for the block. Uses {{fieldKey}} placeholders for dynamic values like colors.
maxLength: 50000
description
stringShort description of the block's purpose and usage.
maxLength: 3000maxGraphemes: 300
HTML template. Uses {{fieldKey}} placeholders for dynamic values.
maxLength: 50000
Display name of the block.
maxLength: 500maxGraphemes: 50
preview
blobPreview thumbnail image for the block marketplace.
maxSize: 500000accept: image/png, image/jpeg, image/webp
updatedAt
string · datetimeTimestamp when the block was last updated.
version
integerVersion number, incremented on each update.
minimum: 1
#fieldDef
objectDefinition of a single configurable field within a custom block.
Properties
default
stringDefault value for the field.
maxLength: 5000
description
stringHelp text shown to users when editing the field.
maxLength: 1000maxGraphemes: 200
Unique identifier for the field, used as {{key}} in HTML/CSS templates.
maxLength: 64
Display label shown to users in the editor.
maxLength: 200maxGraphemes: 50
options
arrayrequired
booleanWhether this field must be filled in.
Input type for the field.
knownValues: text | textarea | color | image | url | number | select | boolean
#selectOption
objectA single option for a select-type field.