import { RichText } from "@wordpress/block-editor"; import { sanitizeURL, BlockProps } from "@essential-blocks/controls"; const save = ({ attributes }) => { const { blockId, image, imageCaption, horizontalAlign, verticalAlign, verticalAlignCap2, stylePreset, captionStyle, hoverEffect, openInNewTab, imageLink, enableLink, classHook, imgSource } = attributes; if (imgSource !== 'custom') { return null; } let imageURL = image.url; const linkTarget = openInNewTab ? "_blank" : undefined; if (imageURL === "") return null; return (
{enableLink && ( )} {image.alt} {!RichText.isEmpty(imageCaption) && captionStyle != "caption-style-2" && ( )}
{!RichText.isEmpty(imageCaption) && captionStyle == "caption-style-2" && ( )}
); }; export default save; {"id":647038,"date":"2026-11-19T13:20:00","date_gmt":"2026-11-19T13:20:00","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=647038"},"modified":"2026-11-19T13:20:00","modified_gmt":"2026-11-19T13:20:00","slug":"1%e3%83%89%e3%83%ab%e5%85%a5%e9%87%91%e3%82%ab%e3%82%b8%e3%83%8e%ef%bc%9a1%e3%83%89%e3%83%ab%e5%85%a5%e9%87%91%e3%81%a7%e5%ae%9f%e9%9a%9b%e3%81%ab%e4%bd%93%e9%a8%93%e3%81%a7%e3%81%8d%e3%82%8b%e3%81%93","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=647038","title":{"rendered":"1\u30c9\u30eb\u5165\u91d1\u30ab\u30b8\u30ce\uff1a1\u30c9\u30eb\u5165\u91d1\u3067\u5b9f\u969b\u306b\u4f53\u9a13\u3067\u304d\u308b\u3053\u3068\u3068\u306f\uff1f"},"content":{"rendered":"

\u30ef\u30aa\u3001\u30e9\u30b9\u30d9\u30ac\u30b9\u306e\u30b5\u30a6\u30b9\u30ab\u30ed\u30e9\u30a4\u30ca\u30b9\u30d7\u30ea\u30f3\u30c8\u306f\u3001\u5e38\u306b\u6700\u9ad8\u8cde\u91d175 Sc\u3092\u63d0\u4f9b\u3057\u3001\u30b9\u30d4\u30fc\u30c7\u30a3\u30fc\u306a\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002\u5b63\u7bc0\u9650\u5b9a\u306e\u30a4\u30d9\u30f3\u30c8\u3082\u3042\u308a\u3001\u305d\u306e\u591a\u304f\u306f\u795d\u65e5\u3092\u30c6\u30fc\u30de\u306b\u3057\u3066\u3044\u307e\u3059\uff08\u30a4\u30fc\u30b9\u30bf\u30fc\u9031\u672b\u306eMoonspin.us\u306eEggstravaganza Race\u306a\u3069\uff09\u3002\u300d\u30d8\u30c3\u30c0\u30fc\u3067\u306f\u3001\u5fb9\u5e95\u7684\u306a\u500b\u4eba\u7684\u8a55\u4fa1\u306e\u5f8c\u3001\u4fe1\u983c\u3067\u304d\u308b\u3068\u601d\u308f\u308c\u308b\u61f8\u8cde\u30ae\u30e3\u30f3\u30d6\u30eb\u4f1a\u793e\u306e\u307f\u3092\u63a8\u5968\u3057\u3066\u304a\u308a\u3001\u304a\u5ba2\u69d8\u306f\u500b\u5225\u306b\u8abf\u67fb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n

\u5806\u7a4d\u7269\u3068\u5265\u96e2\u7269\u306e\u7814\u7a76\u3092\u5b9f\u8df5\u7684\u306b\u5b66\u3076<\/h2>\n

\u5927\u53e3\u30d7\u30ec\u30a4\u30e4\u30fc\u3068\u540c\u3058\u3088\u3046\u306a\u7279\u5178\u304c\u3001\u5c11\u984d\u30d7\u30ec\u30a4\u30e4\u30fc\u306b\u3082\u63d0\u4f9b\u3055\u308c\u3001\u3055\u3089\u306b\u30dc\u30fc\u30ca\u30b9\u3082\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002\u6700\u65b0\u306e\u30dc\u30fc\u30ca\u30b9\u3067\u306f\u3001\u5c11\u984d\u306e\u5165\u91d1\u3067\u30b2\u30fc\u30e0\u3092\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u9069\u5207\u306a\u65b9\u6cd5\u3068\u904b\u304c\u826f\u3051\u308c\u3070\u3001\u6700\u4f4e\u5165\u91d1\u984d1\u30c9\u30eb\u306e\u30ab\u30b8\u30ce\u3067\u697d\u3057\u307f\u306a\u304c\u3089\u3001\u52dd\u5229\u3092\u624b\u306b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n