Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 847 Bytes

File metadata and controls

23 lines (13 loc) · 847 Bytes

Block Toolbar

The BlockToolbar component is used to render a toolbar that serves as a wrapper for number of options for each block.

Paragraph block toolbar

Image block toolbar

Development guidelines

Usage

Displays a block toolbar for a selected block.

import { BlockToolbar } from '@wordpress/block-editor';

const MyBlockToolbar = () => <BlockToolbar />;

Related components

Block Editor components are components that can be used to compose the UI of your block editor. Thus, they can only be used under a BlockEditorProvider in the components tree.