UNPKG

@wordpress/block-library

Version:
29 lines (28 loc) 605 B
import metadata from "./block.json"; const { attributes } = metadata; var deprecated_default = [ { attributes: { ...attributes, categories: { type: "string" } }, supports: { align: true, html: false }, migrate: (oldAttributes) => { return { ...oldAttributes, categories: [{ id: Number(oldAttributes.categories) }] }; }, isEligible: ({ categories }) => categories && "string" === typeof categories, save: () => null } ]; export { deprecated_default as default }; //# sourceMappingURL=deprecated.js.map