Opened 42 hours ago
#66105 new enhancement
Site Editor: Preserve block search state when returning from a block in Styles
| Reported by: | smhz101 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Editor | Version: | 7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | ui |
Description
When working in the Site Editor under Styles > Blocks, the search field is useful for finding related blocks.
The problem is that the search is cleared after opening one of the results and then going back to the Blocks list.
For example, if I search for "Post", open the Post Title block, make or review some style changes, and then go back, the search field is empty again and the full list of blocks is shown.
When working through several related blocks, this means entering the same search again after every block.
I think the previous search should be preserved when returning to the Blocks screen.
Steps to reproduce
- Open Appearance > Editor.
- Open Styles.
- Go to Blocks.
- Search for something, for example "Post".
- Open one of the blocks from the search results.
- Open or change its styles.
- Go back to the Blocks list.
Current result
The previous search is cleared and the full list of blocks is shown.
Expected result
The search term should still be present and the previous filtered results should still be shown.
For example:
Search "Post"
-> Open Post Title
-> Edit/review styles
-> Go back
-> Search "Post" is still active
This would make it easier to work through multiple related blocks without having to repeat the same search every time.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)