Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add the blocks dynamically using editor.addComponents()? #89

Open
parthrc opened this issue Jul 17, 2024 · 0 comments
Open

How to add the blocks dynamically using editor.addComponents()? #89

parthrc opened this issue Jul 17, 2024 · 0 comments

Comments

@parthrc
Copy link

parthrc commented Jul 17, 2024

I have custom grapesjs jsx component with id="custom-component", it works when I use editor.addComponents(<custom-component />)

Now I know the Link Block has id="link-block", but editor.addComponents(<link-block />) does not work?

Is it because they are not jsx components?

Would be really helpful if someone points me in the right direction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant