You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new version of WP there is now a script with type="importmap" and our script has type="module" and type module can not come before any importmap types.
This can be fixed in the class-vite.php by setting 100 for wp_head.
add_action( 'wp_head', [ $this, 'init' ], 100 );
Vite twise
We are also calling Vite() twice which is loading everything twice.
Classes missing in preview
Remove is_preview() from acf-blocks-toolkit/includes/helpers.php
The text was updated successfully, but these errors were encountered:
Console log error
With the new version of WP there is now a script with
type="importmap"
and our script hastype="module"
and type module can not come before anyimportmap
types.This can be fixed in the
class-vite.php
by setting100
for wp_head.add_action( 'wp_head', [ $this, 'init' ], 100 );
Vite twise
We are also calling
Vite()
twice which is loading everything twice.Classes missing in preview
Remove
is_preview()
fromacf-blocks-toolkit/includes/helpers.php
The text was updated successfully, but these errors were encountered: