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