How to remove unnecessary component?
If you want to disable the component from the parser you can do this:
Read full answer below ↓Question
@artf I use CKEditor and it's link plugin can't work with 'Link' blocks. How can I prevent creating 'Link' component when grapesjs newsletter is rendering? Or prevent link wrapping on chosen class.
When adding a link:

After importing the code of template shown above:

Answers (3)
If you want to disable the component from the parser you can do this:
editor.DomComponents.addType('link', {
isComponent: () => false,
})
@artf no, If I do in such way the link becomes a text. I want grape js not to wrap it with any block
I want grape js not to wrap it with any block
Which block are you talking about?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2455
[QUESTION] How can I remove link, button components from newsletter plugin?
how can i remove the link, button blocks from the section components because there is a conflict between it and ckeditor toolbar, I can cre...
Issue #1341
[Question] How to work with Custom Components
Hello, I have some questions and issues about and with the grapes editorProblem 1 In a component, which class is there extended? Is it real...
Issue #2032
[QUESTION] How to remove unnecessary component?
@artf you closed my issue before I approved that the answer is correct. I want grape js not to wrap the link with any block(link, text etc....
Issue #6458
sector.setName doesn't work
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfi...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →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.