@wordpress/block-library
Version:
Block library for the WordPress editor.
35 lines (34 loc) • 606 B
JavaScript
// packages/block-library/src/embed/constants.js
const ASPECT_RATIOS = [
{
ratio: "2.33",
className: "wp-embed-aspect-21-9"
},
{
ratio: "2.00",
className: "wp-embed-aspect-18-9"
},
{
ratio: "1.78",
className: "wp-embed-aspect-16-9"
},
{
ratio: "1.33",
className: "wp-embed-aspect-4-3"
},
{
ratio: "1.00",
className: "wp-embed-aspect-1-1"
},
{
ratio: "0.56",
className: "wp-embed-aspect-9-16"
},
{
ratio: "0.50",
className: "wp-embed-aspect-1-2"
}
];
const WP_EMBED_TYPE = "wp-embed";
export { ASPECT_RATIOS, WP_EMBED_TYPE };
//# sourceMappingURL=constants.mjs.map