useToolbarSchema
useToolbarSchema(
props
):ToolbarSchema
Defined in: use-toolbar-schema.ts:62
Extend the editor’s schema with default values, icons, shortcuts and more. This makes it easier to use the schema to render toolbars, forms and other UI components.
Parameters
Section titled “Parameters”extendAnnotation?
Section titled “extendAnnotation?”(annotation
) => ToolbarAnnotationSchemaType
extendBlockObject?
Section titled “extendBlockObject?”(blockObject
) => ToolbarBlockObjectSchemaType
extendDecorator?
Section titled “extendDecorator?”(decorator
) => ToolbarDecoratorSchemaType
extendInlineObject?
Section titled “extendInlineObject?”(inlineObject
) => ToolbarInlineObjectSchemaType
extendList?
Section titled “extendList?”(list
) => ToolbarListSchemaType
extendStyle?
Section titled “extendStyle?”(style
) => ToolbarStyleSchemaType