Skip to content

Is there any onAdd event for blocks? #8655

@foysalremon

Description

@foysalremon

Like on the title, I am willing to be able to add a callback while my custom block is added on editor. Like I am creating some countdown which is initializing by a jquery function call by taking data from html data attributes.

Now I am willing the function to be run while I have added a new countdown element on my editor (by taking it's default value).

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] Help RequestHelp with setup, implementation, or "How do I?" questions.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions