List block: bold text and a plain detail by default, with a Style to keep the old look
Migration 092 adds content_blocks.list_style: blank is bold text and a detail in the body color, 'plain' the plain text and gray detail lists had before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6a0271efd9
commit
e9ea75a68d
7 changed files with 44 additions and 11 deletions
|
|
@ -529,6 +529,14 @@ export const blocksChild = {
|
|||
when: { path: "type", value: TEXT_TYPES },
|
||||
help: (row) => TEXT_HELP[row?.type],
|
||||
},
|
||||
{
|
||||
path: "list_style",
|
||||
label: "Style",
|
||||
widget: "select",
|
||||
options: [["plain", "Plain text, gray detail"]],
|
||||
blankLabel: "Default: bold text, normal detail",
|
||||
when: { path: "type", value: "list" },
|
||||
},
|
||||
{
|
||||
path: "cite",
|
||||
label: "Attribution",
|
||||
|
|
|
|||
|
|
@ -54,6 +54,8 @@ export type ContentBlock = {
|
|||
team_id?: string | null
|
||||
/** Who a quote is by. */
|
||||
cite?: string | null
|
||||
/** A list block's style (092): null bold text, 'plain' the old look. */
|
||||
list_style?: 'plain' | null
|
||||
/** A video block's WebVTT file, for an uploaded video (066). */
|
||||
captions?: string | null
|
||||
items?: ContentBlockItem[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue