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 (
Bitcoin has become increasingly preferred as a kind of digital currency, using individuals a protected and decentralized repayment method. Therefore, several on the internet casino sites currently approve bitcoin deposits, allowing players to appreciate their favorite casino games utilizing this ingenious payment alternative. In this article, we