mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user