Ability to filter blocks
Question
What do you think about the ability to filter the blocks panel? I have a situation where I may have hundreds of custom blocks, and having a built-in way for users to find a specific one would be very helpful. Here's a quick mockup of what I've got in mind: https://i.imgur.com/fGCNY3N.png. Typing in the input would only show the blocks that match the search term, maybe with an "X" button in the input that clears the search term and returns to the full list of blocks.
Is this something that you would be open to adding to the grapesjs core? Or would it be better to add this type of feature through a plugin? I'd be happy to submit a pull request for this if you'd like.
Thanks!
Answers (3)
Thanks for the suggestion @ryandeba it'd be cool to have search functionality on all collections, probably even something like this, this will allow filtering also in other modules. I'd rather prefer to keep the UI side away from the core library
Any news regarding the above issue? Such functionality would be very helpful.
@giannis4119 I'm not actively working on this at this time, but I may get back to it at some point in the future.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1492
Creating Custom Multiple Block Managers
Is there a way to generate multiple block managers where you click on a command button and a set on specific components are listed in the v...
Issue #2687
[Question] How to append style manager to custom panel
I would like to append the whole style manager module to a panel? I have been digging up the docs for the past 2 days and couldn't find a p...
Issue #1716
Block in Pannels?
I'm looking for a way to add a group of blocks to a custom panel, I'm talking about blocks and not buttons because they need to be "Drag an...
Issue #713
Restrict Droppable Components to specific Component Types
So the wording of this may seem confusing, but essentially I'm trying to use gjs-droppable="" the same way one would use gjs-draggable=""....
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.