Skip to content

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

@parthrc

Description

@parthrc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions