__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import { RichText } from "@wordpress/block-editor";
import {
BlockProps
} from "@essential-blocks/controls";
const Save = ({ attributes }) => {
const {
blockId,
tagName,
text,
classHook,
source
} = attributes;
if (source !== 'custom') return null;
return (
<BlockProps.Save
attributes={attributes}
>
<div
className={`eb-parent-wrapper eb-parent-${blockId} ${classHook}`}
>
<div
className={`eb-text-wrapper ${blockId}`}
data-id={blockId}
>
<RichText.Content
tagName={tagName}
className="eb-text"
value={text}
/>
</div>
</div>
</BlockProps.Save>
);
};
export default Save;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| constants | Folder | 0750 |
|
|
| attributes.js | File | 2.84 KB | 0640 |
|
| edit.js | File | 6.3 KB | 0640 |
|
| example.js | File | 467 B | 0640 |
|
| icon.svg | File | 2.53 KB | 0640 |
|
| index.js | File | 644 B | 0640 |
|
| inspector.js | File | 12.45 KB | 0640 |
|
| save.js | File | 927 B | 0640 |
|
| style.js | File | 8.31 KB | 0640 |
|
| style.scss | File | 22 B | 0640 |
|