__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* WordPress dependencies
*/
import { InnerBlocks, useBlockProps } from "@wordpress/block-editor";
import { omit } from "lodash";
import attributes from "./attributes";
const deprecated = [
{
attributes: { ...attributes },
supports: {
html: false,
anchor: true,
align: ["wide", "full"],
},
save: ({ attributes }) => {
const {
blockId,
classHook
} = attributes;
return (
<div {...useBlockProps.save()}>
<div className={`eb-parent-wrapper eb-parent-${blockId} ${classHook}`}>
<div className={`eb-row-root-container ${blockId}`} data-id={blockId}>
<div className={`eb-row-wrapper`}>
<div className="eb-row-inner">
<InnerBlocks.Content />
</div>
</div>
</div>
</div>
</div>
);
},
},
{
attributes: { ...attributes },
supports: {
html: false,
anchor: true,
align: ["wide", "full"],
},
save: ({ attributes }) => {
const { blockId } = attributes;
return (
<div {...useBlockProps.save()}>
<div className={`eb-row-root-container ${blockId}`} data-id={blockId}>
<div className={`eb-row-wrapper`}>
<div className="eb-row-inner">
<InnerBlocks.Content />
</div>
</div>
</div>
</div>
);
},
},
{
supports: {
// inserter: false,
// reusable: false,
html: false,
anchor: true,
// Declare support for specific alignment options.
align: ["wide", "full"],
},
attributes: omit(
{
...attributes,
wrpMrg_Right: {
type: "string",
},
wrpMrg_Left: {
type: "string",
},
TABwrpMrg_Right: {
type: "string",
},
TABwrpMrg_Left: {
type: "string",
},
MOBwrpMrg_Right: {
type: "string",
},
MOBwrpMrg_Left: {
type: "string",
},
},
[]
),
save: ({ attributes }) => {
const { blockId } = attributes;
return (
<div {...useBlockProps.save()}>
<div className={`eb-row-wrapper ${blockId}`} data-id={blockId}>
<div className="eb-row-inner">
<InnerBlocks.Content />
</div>
</div>
</div>
);
},
},
];
export default deprecated;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| constants | Folder | 0750 |
|
|
| attributes.js | File | 3.22 KB | 0640 |
|
| deprecated.js | File | 3.16 KB | 0640 |
|
| edit.js | File | 24.06 KB | 0640 |
|
| example.js | File | 90 B | 0640 |
|
| icon.svg | File | 774 B | 0640 |
|
| index.js | File | 730 B | 0640 |
|
| inspector.js | File | 5.32 KB | 0640 |
|
| save.js | File | 775 B | 0640 |
|
| style.js | File | 14.19 KB | 0640 |
|
| style.scss | File | 994 B | 0640 |
|