UNPKG

@wordpress/block-library

Version:
23 lines (22 loc) • 1.03 kB
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); let _wordpress_i18n = require("@wordpress/i18n"); // packages/block-library/src/media-text/constants.js const ALLOWED_MEDIA_TYPES = ["image", "video"]; const DEFAULT_MEDIA_SIZE_SLUG = "full"; const WIDTH_CONSTRAINT_PERCENTAGE = 15; const LINK_DESTINATION_NONE = "none"; const LINK_DESTINATION_MEDIA = "media"; const LINK_DESTINATION_ATTACHMENT = "attachment"; const TEMPLATE = [["core/paragraph", { placeholder: (0, _wordpress_i18n._x)("Content…", "content placeholder") }]]; exports.ALLOWED_MEDIA_TYPES = ALLOWED_MEDIA_TYPES; exports.DEFAULT_MEDIA_SIZE_SLUG = DEFAULT_MEDIA_SIZE_SLUG; exports.LINK_DESTINATION_ATTACHMENT = LINK_DESTINATION_ATTACHMENT; exports.LINK_DESTINATION_MEDIA = LINK_DESTINATION_MEDIA; exports.LINK_DESTINATION_NONE = LINK_DESTINATION_NONE; exports.TEMPLATE = TEMPLATE; exports.WIDTH_CONSTRAINT_PERCENTAGE = WIDTH_CONSTRAINT_PERCENTAGE; //# sourceMappingURL=constants.cjs.map