UNPKG

@wordpress/block-library

Version:
15 lines (14 loc) • 527 B
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); let _wordpress_blocks = require("@wordpress/blocks"); // packages/block-library/src/post-author-name/transforms.js const transforms = { from: [{ type: "block", blocks: ["core/post-author"], transform: ({ textAlign }) => (0, _wordpress_blocks.createBlock)("core/post-author-name", { style: { typography: { textAlign } } }) }] }; exports.default = transforms; //# sourceMappingURL=transforms.cjs.map