UNPKG

@wordpress/block-library

Version:
10 lines (9 loc) • 453 B
import { RawHTML } from "@wordpress/element"; import { jsx } from "react/jsx-runtime"; // packages/block-library/src/more/save.jsx function save({ attributes: { customText, noTeaser } }) { const moreTag = customText ? `<!--more ${customText}-->` : "<!--more-->"; return /* @__PURE__ */ jsx(RawHTML, { children: [moreTag, noTeaser ? "<!--noteaser-->" : ""].filter(Boolean).join("\n") }); } export { save as default }; //# sourceMappingURL=save.mjs.map