Issue #2909šŸ’¬ AnsweredOpened July 21, 2020by tvvignesh0 reactions

Support for search and commands in the editor for custom components

Quick answerby artf

Hi @tvvignesh for sure it makes sense but as you know UIs related stuff are highly arguable so it requires a lot of code to make it as much customizable as possible. So far, I've stopped adding UI stuff in the core and started making it more API-oriented, indeed you should be able to implement it by using Blocks API w...

Read full answer below ↓

Question

Hi. First of all, awesome work with grapesjs. Had a feature request which may greatly improve usability for users. While grapesjs does allow to categorize components like these: It will be great if there is support for searching components to import and import them (a normal filter from the sidebar would also do). This way, even if there are hundreds of blocks, i can search for what I need and import them rather than going through the layers individually and picking them. Also, if you have use editors like notion.so they support adding their components like these via commands / as and when yo...

Answers (2)

artf• August 3, 2020

Hi @tvvignesh for sure it makes sense but as you know UIs related stuff are highly arguable so it requires a lot of code to make it as much customizable as possible. So far, I've stopped adding UI stuff in the core and started making it more API-oriented, indeed you should be able to implement it b...

tvvignesh• August 3, 2020

@artf Thanks for your inputs on this. Will try implementing using Blocks API. Just one question though. Since I would like to add blocks in the location where the cursor is by searching for the block as in the screenshot, may I know the recommended way that you would do that using the Blocks API? W...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.