Sindbad~EG File Manager
/**
* WordPress dependencies
*/
const { __ } = wp.i18n;
const { registerBlockType } = wp.blocks;
/**
* Internal dependencies
*/
import './style.scss';
import GiveLogo from '../components/logo';
import blockAttributes from './data/attributes';
import GiveForm from './edit/block';
/**
* Register Block
*/
export default registerBlockType( 'give/donation-form', {
title: __( 'Donation Form' ),
description: __( 'The GiveWP Donation Form block inserts an existing donation form into the page. Each donation form\'s presentation can be customized below.' ),
category: 'give',
icon: <GiveLogo color="grey" />,
keywords: [
__( 'donation' ),
],
supports: {
html: false,
},
attributes: blockAttributes,
edit: GiveForm,
save: () => {
// Server side rendering via shortcode
return null;
},
} );
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists