Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Phi Phan

    (@mr2p)

    Hello Marco (@michelyweb),

    I will consider adding this feature in the future. For now you can unregister these variations by using the following JS code:

    wp.domReady( () => {
    wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-tilt' );
    wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-triangle' );
    wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-asymmetrical-triangle' );
    wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-waves' );
    wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-curve' );
    wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-curve-upside-down' );
    wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-arrow' );
    });

    Best, Phi.

    Thread Starter Marco

    (@michelyweb)

    Thank you @mr2p – this works for now.

    Plugin Author Phi Phan

    (@mr2p)

    @michelyweb You’re welcome. I’m glad it worked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.