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":639996,"date":"2026-11-18T16:41:02","date_gmt":"2026-11-18T16:41:02","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=639996"},"modified":"2026-11-18T16:41:03","modified_gmt":"2026-11-18T16:41:03","slug":"cac-trang-web-choi-blackjack-truc-tuyen-tot-hon-loi-nhuan-thuc-su-nam-2026","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=639996","title":{"rendered":"C\u00e1c trang web ch\u01a1i Blackjack tr\u1ef1c tuy\u1ebfn t\u1ed1t h\u01a1n, l\u1ee3i nhu\u1eadn th\u1ef1c s\u1ef1 n\u0103m 2026"},"content":{"rendered":"
\n

B\u00e0i \u0111\u0103ng<\/p>\n