import { createElement } from '@wordpress/element'
import { __ } from 'ct-i18n'
import { registerBlockType } from '@wordpress/blocks'
import { addFilter } from '@wordpress/hooks'
import Edit from './Edit'
import { getAttributesFromOptions, getOptionsForBlock } from 'blocksy-options'
import { colorsDefaults } from './colors'
export const options = getOptionsForBlock('newsletter')
export const defaultAttributes = getAttributesFromOptions(options)
registerBlockType('blocksy/newsletter', {
apiVersion: 3,
title: __('Newsletter Controls', 'blocksy-companion'),
icon: {
src: (
),
},
category: 'widgets',
supports: {
html: false,
inserter: false,
lock: false,
__experimentalBorder: {
color: false,
radius: true,
width: false,
__experimentalSkipSerialization: true,
__experimentalDefaultControls: {
color: false,
radius: true,
width: false,
},
},
},
parent: ['blocksy/widgets-wrapper'],
attributes: { ...defaultAttributes, ...colorsDefaults },
edit: (props) =>
<\/a> Synthetic Rubber sole Soda latest collection \u201cACCOUNT\u201d A toothy block heel and platform seriously elevate this sandal that adds some drama to your look.<\/span> Synthetic Rubber sole
\nPrice: [price_with_discount]<\/span>
(as of [price_update_date] – Details<\/span>)<\/small><\/i><\/p>\n
\n[ad_1]
\n Soda latest collection \u201cACCOUNT\u201d A toothy block heel and platform seriously elevate this sandal that adds some drama to your look.<\/span>
Is Discontinued By Manufacturer \u200f : \u200e No
Package Dimensions \u200f : \u200e 10.79 x 9.41 x 4.21 inches; 1.74 Pounds
Item model number \u200f : \u200e ACCOUNT
Department \u200f : \u200e Womens
Date First Available \u200f : \u200e June 12, 2021
Manufacturer \u200f : \u200e SODA
ASIN \u200f : \u200e B0973PSN4M <\/p>\n
Platform measures approximately 1.50″
Latest Fashion and Trend for Stylish, Sporty & Sexy look
Breathable lining. Platform height: 1.5\u201d, Sandal Height: 2.75\u201d
Slip-on style with Ankle strap with buckle closure
Open Toe Lug Sole Heel Sandals. Fashion Wedge Sandal with Fisherman style upper
\n
[ad_2]
\n<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"
Is Discontinued By Manufacturer \u200f : \u200e No
Package Dimensions \u200f : \u200e 10.79 x 9.41 x 4.21 inches; 1.74 Pounds
Item model number \u200f : \u200e ACCOUNT
Department \u200f : \u200e Womens
Date First Available \u200f : \u200e June 12, 2021
Manufacturer \u200f : \u200e SODA
ASIN \u200f : \u200e B0973PSN4M <\/p>\n
Platform measures approximately 1.50″
Latest Fashion and Trend for Stylish, Sporty & Sexy look
Breathable lining. Platform height: 1.5\u201d, Sandal Height: 2.75\u201d
Slip-on style with Ankle strap with buckle closure
Open Toe Lug Sole Heel Sandals. Fashion Wedge Sandal with Fisherman style upper<\/p>\n","protected":false},"author":1,"featured_media":1271,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1270","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fashion"],"_links":{"self":[{"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/posts\/1270"}],"collection":[{"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/comments?post=1270"}],"version-history":[{"count":0,"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/posts\/1270\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/media\/1271"}],"wp:attachment":[{"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/media?parent=1270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/categories?post=1270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patricksstore.com\/wp-json\/wp\/v2\/tags?post=1270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}