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":2156,"date":"2023-06-06T14:53:51","date_gmt":"2023-06-06T13:53:51","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2156"},"modified":"2024-07-18T10:40:34","modified_gmt":"2024-07-18T09:40:34","slug":"telefono-codere-atencion-al-cliente-913-432-950","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2156","title":{"rendered":"Tel\u00e9fono Codere\u3010 Atenci\u00f3n Al Cliente 913 432 950"},"content":{"rendered":"

Tel\u00e9fono Codere\u3010 Atenci\u00f3n Al Cliente 913 432 950 \u3011<\/p>\n

Codere Logro\u00f1o Sl Telf 941486149<\/h1>\n
\n

Content<\/p>\n