BlockSuite API Documentation / @blocksuite/blocks / ParagraphBlockSchema
Variable: ParagraphBlockSchema
const
ParagraphBlockSchema:object
Type declaration
model
model:
object
&object
Type declaration
flavour
flavour:
"affine:paragraph"
props
props:
@blocksuite/store
Type declaration
parent
parent:
string
[]
role
role:
"content"
version
version:
number
onUpgrade()?
optional
onUpgrade: (data
,previousVersion
,latestVersion
) =>void
Parameters
• data: ParagraphProps
• previousVersion: number
• latestVersion: number
Returns
void
transformer()?
optional
transformer: () =>@blocksuite/store
Returns
version
version:
number
Defined in
packages/affine/model/dist/blocks/paragraph/paragraph-model.d.ts:7