Skip to content

Add Responsive Embed Shortcode #109

@jmbarne3

Description

@jmbarne3

Description
Create a shortcode that will wrap an embedded iframe with the <div class="embed-responsive"> class and any ratio specific classes.

Why it's Important
This allows the embed classes to be inserted without having to open the text editor and manually adding a div with classes.

Alternatives
We might want to consider adding this as a block for future implementations, but a shortcode will do for now.

Possible Implementation
[embed-responsive] shortcode with ratio="" as a parameter. See the Athena documentation to see the list of possible ratios.

Metadata

Metadata

Assignees

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions