Gutenberg Samples
- Add Dropdown which has some
RichText Toolbar Buttons
- I used
Fill
andSlot
to gather buttons and use for dropdown items. - Each format types's
edit
function createsFill
to register component. - Only first format type's
edit
function create component to useSlot
which provides some components that registered byFill
above,
which are pass to DropdownMenu's controls.
- I used
- Add Dropdown which has some
RichText Toolbar Buttons
using library. - Add color palette and font size picker to toolbar and inspector.
- Library
- >= PHP 5.6
- >= WordPress 5.4