UNPKG

@wordpress/block-library

Version:
17 lines (16 loc) • 435 B
import { createBlock } from "@wordpress/blocks"; // packages/block-library/src/post-excerpt/transforms.js const transforms = { from: [{ type: "block", blocks: ["core/post-content"], transform: () => createBlock("core/post-excerpt") }], to: [{ type: "block", blocks: ["core/post-content"], transform: () => createBlock("core/post-content") }] }; export { transforms as default }; //# sourceMappingURL=transforms.mjs.map