-
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
Fix adding blocks in the widgets customizer #30221
Conversation
Size Change: +1.89 kB (0%) Total Size: 1.42 MB
ℹ️ View Unchanged
|
I tested this and it's almost perfect. The problem I found was that adding blocks by pressing enter made the content of the starting block disappear from the preview. customizer-upating.mp4 |
packages/customize-widgets/src/components/sidebar-block-editor/use-sidebar-block-editor.js
Outdated
Show resolved
Hide resolved
@draganescu That's seems a little bit tricky, and I suspect that it's happening in the widgets editor too. I created a separate issue to track it: #30268. |
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.
This works amazingly well, and along with @noisysocks 's suggested update the code is great as well. I'll merge it.
Description
Fix adding blocks in the widgets customizer. Part of #29284.
How has this been tested?
Screenshots
Kapture.2021-03-25.at.15.20.06.mp4
Types of changes
Bug fix
Checklist: