BlockSuite API Documentation / @blocksuite/blocks / ParagraphBlockSchema
Variable: ParagraphBlockSchema 
constParagraphBlockSchema:Object
Type declaration 
model 
model:
Object&Object
Type declaration 
flavour 
flavour:
"affine:paragraph"
props 
props:
PropsGetter<Object>
Type declaration 
text 
text:
Text
type 
type:
ParagraphType
role 
role:
"content"|"root"|"hub"
Type declaration 
parent 
parent:
string[]
role 
role:
"content"='content'
version 
version:
number=1
onUpgrade? 
onUpgrade?: (
data,previousVersion,latestVersion) =>void
Parameters 
• data: Object
• data.text: Text= undefined
• data.type: ParagraphType= undefined
• previousVersion: number
• latestVersion: number
Returns 
void
transformer? 
transformer?: () =>
BaseBlockTransformer<Object>
Returns 
BaseBlockTransformer<Object>
text 
text:
Texttype 
type:
ParagraphType
version 
version:
number
Source 
packages/blocks/src/paragraph-block/paragraph-model.ts:13
Generated using typedoc-plugin-markdown and TypeDoc