Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add toolbar slot #31

Merged
merged 3 commits into from
Jul 29, 2021
Merged

Add toolbar slot #31

merged 3 commits into from
Jul 29, 2021

Conversation

johngodley
Copy link
Member

@johngodley johngodley commented Jul 12, 2021

Adds a slot to the toolbar for insertion of custom components in the right side:

import { ToolbarSlot } from 'isolated-block-editor';

<Editor>
  <ToolbarSlot>
    Custom stuff
  </ToolbarSlot>
</Editor>

image

This allows custom components to be inserted into the toolbar area
Simple method to detect changes in history
@johngodley johngodley changed the title WIP: Add toolbar slot Add toolbar slot Jul 29, 2021
@johngodley johngodley merged commit 9c628a7 into trunk Jul 29, 2021
@johngodley johngodley deleted the add/toolbar-slot branch July 29, 2021 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant