Function: InsertFrontmatter()
InsertFrontmatter(
props
,context
?):ReactNode
A toolbar button that allows the user to insert a front-matter editor (if one is not already present).
For this to work, you need to have the frontmatterPlugin
plugin enabled.
Parameters
Parameter | Type |
---|---|
props | object |
context ? | any |
Returns
ReactNode