leadin/hubspot-form-block is not working in latest update

Hi,

I have registered a block variation like below :

wp.blocks.registerBlockVariation(‘core/group’, {

name: ‘hero-form’,

title: ‘Hero with Form’,

icon: ‘star-filled’,

attributes: {

align: ‘full’,

layout: { type: ‘constrained’ },

className: ‘is-style-padding-3’,

gradient: ‘layer-accent-neutral-2’,

},

innerBlocks: [

[

‘core/columns’,

{ verticalAlignment: ‘center’, align: ‘full’ },

[

[

‘core/column’,

{

verticalAlignment: ‘center’,

className: ‘is-style-card-3’,

},

[

[

‘core/heading’,

{ placeholder: ‘This is a headline’, level: 1 },

],

[

‘core/paragraph’,

{ placeholder: ‘This is a paragraph’ },

],

[‘leadin/hubspot-form-block’, {}],

],

],

],

],

],

});
The issue is that leadin/hubspot-form-block is not working in editor templates however it is working in page editors.
I am getting an error that leadin/hubspot-form-block is not registered.

Hey, @MSharma38 :waving_hand: Thanks for your question. Welcome to our community. To be upfront, I am not a WP expert by any means.

Here’s where I’d start:

  • Have you tried to verify the block availability by logging it out?
const blocks = wp.blocks.getBlockTypes();
console.log(blocks);
  • Have you tried to deactivate other plugins temporarily to see if there’s a conflict?

Let’s also invite some of our community members to the conversation who have WordPress experience — hey @Mike_Eastwood @Jake_Lett @Josh do you have any troubleshooting tips you can offer @MSharma38?

Thank you for taking a look! — Jaycee

Hi @Mike_Eastwood @Jake_Lett @Josh,

As I am going through the most recent hubspot plugin update, I still get the same issue and seems like hubspot is still not active for Full Site Editor. I am trying to console wp.blocks.getBlockTypes() on wordpress Editor screen but could not find

leadin/hubspot-form-block and also page breaks if I try to add any block which is same old issue. Please let me know if you have any solutions.

Yes I tried that but the block type not even there. It is working till version 11.0.53 and then there is a below line added in the major releases below :

// We do not support the full site editor: Sign in ・ Cloudflare Access

if (!WpBlocksApi || isFullSiteEditor()) {

return null;

}
What does this mean. Is this mean that Hubspot is not supports full site editor meaning that it won’t work in appearance → editor section?

I just tested this plugin separately and there’s no conflict with other plugins as far as I think.

When I use wp.blocks.getBlockType() on old plugin then these below blocks exists.

  1. 92: {name: ‘leadin/hubspot-form-block’, icon: {…}, keywords: Array(0), attributes: {…}, providesContext: {…}, …}

  2. 93: {name: ‘leadin/hubspot-meeting-block’, icon: {…}, keywords: Array(0), attributes: {…}, providesContext: {…}, …}

But When I am doing the same on updated plugins then these blocks aren’t appearing.

There is no leadin/hubspot-form-block when I am using new plugin :

When I am using most recent working version then leadin/hubspot-form-block is appearing in console :

Hey, @MSharma38, thanks for the additional details. I found the internal case you referenced, and it states the same as the warning message you shared — “the blocks do not work in the full site editor.”

If I get an additional update, I’ll update this post.

Best,

Jaycee

Please let me know if you have any update on it. Thanks!

Please let me know if there’s any update on this.