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

Breadcrumb and visual improvements #9

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Breadcrumb and visual improvements #9

merged 2 commits into from
Jan 10, 2025

Conversation

jeffreyvr
Copy link
Owner

  • The editor now includes a breadcrumb, allowing you to easily switch to a parent block. You may also use the arrow up key.
  • Blocks can be hidden from the block inserter (sidebar) by setting asChildOnly to true. Only when this block is then explicitly allowed, it will become visible in the block inserter.
  • A block now has an isInEditor method to check if the block is currently being displayed in the editor. This will allow you to make the block look/behave slightly different in the editor.
  • Several visual changes to more clearly indicate the currently active or hovered block, and showing the block name alongside the block toolbar.

@jeffreyvr jeffreyvr merged commit 8e2b0ee into main Jan 10, 2025
2 checks passed
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.

1 participant