-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Navigation: Remove ghost inserter #46919
Conversation
Size Change: +15 B (0%) Total Size: 1.32 MB
ℹ️ View Unchanged
|
Flaky tests detected in eb05095. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3848492784
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works!
What?
This removes the "ghost" inserter that appears around the innerBlocks for the navigation link block. This was introduced in #45906.
Fixes #46574
Why?
Cleans up the UI.
How?
By adding a
remove-outline
class to innerBlocksProps, and removing all other classes. I'm not sure if this is the best way, but every other approach I took didn't work.Testing Instructions
Testing Instructions for Keyboard
Check that items within a navigation block can still be reordered using the keyboard.
Screenshots or screencast
Before:
After: