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":142454,"date":"2026-09-08T01:09:16","date_gmt":"2026-09-08T00:09:16","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=142454"},"modified":"2026-09-08T01:09:18","modified_gmt":"2026-09-08T00:09:18","slug":"forged-in-the-flames-odin-unveils-the-newest-win_hit-an-excellent-three-hundred-kilometer-h-drone-hunter-to-master-ukraines-heavens","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=142454","title":{"rendered":"Forged in the Flames: ODIN Unveils the newest 'Win_Hit', an excellent three hundred kilometer h Drone Hunter to master Ukraine's Heavens"},"content":{"rendered":"
\n

Blogs<\/p>\n