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":606582,"date":"2026-11-14T01:43:55","date_gmt":"2026-11-14T01:43:55","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=606582"},"modified":"2026-11-14T01:43:56","modified_gmt":"2026-11-14T01:43:56","slug":"tord-meg-az-uj-hex-et-2020-ban-a-hexbreaker-harmadik-lepese-nyerogepek-sikertortenetei","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=606582","title":{"rendered":"T\u00f6rd meg az \u00faj HEX-et 2020-ban! A Hexbreaker harmadik l\u00e9p\u00e9se: Nyer\u0151g\u00e9pek sikert\u00f6rt\u00e9netei"},"content":{"rendered":"
\n

Cikkek<\/p>\n