@wordpress/block-library
Version:
Block library for the WordPress editor.
41 lines (40 loc) • 769 B
JavaScript
;
Object.defineProperties(exports, {
__esModule: { value: true },
[Symbol.toStringTag]: { value: "Module" }
});
// 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";
exports.ASPECT_RATIOS = ASPECT_RATIOS;
exports.WP_EMBED_TYPE = WP_EMBED_TYPE;
//# sourceMappingURL=constants.cjs.map