-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Closed
Copy link
Labels
[Block] SearchAffects the Search Block - used to display a search fieldAffects the Search Block - used to display a search field[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
If you place a Search block inside of a menu in a Navigation block, then set the block to "Button only" (or any other option besides "Button inside"), the style is not persisted when the Navigation menu is saved. The Search block reverts to "Button inside". See the gif below.
Step-by-step reproduction instructions
- Create a Navigation menu
- Save the Navigation menu
- Add a Search block to the menu
- Set the Search block to "Button only" (or any other option besides "Button inside")
- Save the Navigation menu and see that the Search block is no longer set to "Button only"
Screenshots, screen recording, code snippet
Environment info
- WordPress 6.3 RC2
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
[Block] SearchAffects the Search Block - used to display a search fieldAffects the Search Block - used to display a search field[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended