(function ( wpI18n, wpBlocks, wpEditor ) { const { __ } = wpI18n; const { registerBlockType } = wpBlocks; const { InnerBlocks } = wpEditor; const containerBlockIcon = ( ); registerBlockType( 'advgb/container', { title: __( 'Container' ), description: __( 'Block for containing other blocks.' ), icon: { src: containerBlockIcon, foreground: typeof advgbBlocks !== 'undefined' ? advgbBlocks.color : undefined, }, category: 'advgb-category', keywords: [ __( 'container' ), __( 'row' ), __( 'box' ) ], attributes: {}, supports: { align: true, }, edit: function () { return (
) }, save: function () { return (
); }, } ); })( wp.i18n, wp.blocks, wp.editor );