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

ParameterType
propsobject
context?any

Returns

ReactNode