| Server IP : 146.59.209.152 / Your IP : 216.73.216.152 Web Server : Apache System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : monpetu ( 144298) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/monpetu/www/ipprint/wp-content/plugins/cartflows/modules/gutenberg/src/ |
Upload File : |
/**
* Gutenberg Blocks
*
* All blocks related JavaScript files should be imported here.
* You can create a new block folder in this dir and include code
* for that block here as well.
*
* All blocks should be included here since this is the file that
* Webpack is compiling as the input file.
*/
import './editor.scss';
import './blocks/order-detail-form/block.js';
import './blocks/next-step-button/block.js';
import './blocks/checkout-form/block.js';
import './blocks/optin-form/block.js';
import CF_Block_Icons from './block-icons';
const { updateCategory } = wp.blocks;
// wp.WCFSvgIcons = Object.keys( cf_blocks_info.wcf_svg_icons );
wp.UAGBSvgIcons = Object.keys( uagb_blocks_info.uagb_svg_icons );
updateCategory( 'cartflows', {
icon: CF_Block_Icons.logo,
} );
const addCfResponsiveCondtionBlocks = function ( blocks ) {
blocks.push( 'wcfb/' );
return blocks;
};
wp.hooks.addFilter(
'uag_reponsive_conditions_compatible_blocks',
'enable_reponsive_condition_for_cf_blocks',
addCfResponsiveCondtionBlocks
);