import {
registerBlockType,
__,
InspectorControls,
BlockControls,
TextControl,
PanelBody,
Fragment,
ServerSideRender ,
} from '../../wp-imports'
import { PenciIcon } from '../../icons'
// Rendering in PHP
export const save = ( props ) => { return null }
export const edit = ( props ) => {
const { isSelected } = props;
const { postID } = props.attributes;
return (
setAttributes( { postID: postIDValue } ) }
/>
);
}
registerBlockType( 'penci-gutenberg/review', {
title: __( 'Penci: Review' ),
icon: PenciIcon,
category: 'penci-blocks',
edit: edit,
save: save,
} );
x
Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586