Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Implement block specific scripts similar to stylesheets #506

@cameronjonesweb

Description

@cameronjonesweb

Feature description

As defined in #249, styles can be automatically included when the block is active on a page. I think it would be nice if block scripts could be included on the front end in a similar manner.

Screenshot (optional)

image

Use case

There are plenty of types of block that could utilise front end only scripts. An accordion panel for example, or tabbed content.

Additional information

Just think this could be a good feature, considering styles are already loaded this way.

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