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

NameType
propsObject
context?any

Returns

ReactNode