fix(core): transcription block styls (#11772)

1. collapsed transcript block by default
2. summary block should be able to have list paragraphs
This commit is contained in:
pengx17 committed 2025-04-17 12:41:52 +00:00
1 parent a46bb446e2
commit 75df27a145
3 files changed
+9 -3

No files matched your search

@@ -33,7 +33,7 @@ export const CalloutBlockSchema = defineBlockSchema({
'affine:edgeless-text',
'affine:transcription',
],
children: ['affine:paragraph'],
children: ['affine:paragraph', 'affine:list'],
},
toModel: () => new CalloutBlockModel(),
});
@@ -43,6 +43,7 @@ export const ListBlockSchema = defineBlockSchema({
'affine:list',
'affine:paragraph',
'affine:edgeless-text',
'affine:callout',
],
},
toModel: () => new ListBlockModel(),