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
I updated the init hook to enqueue_block_editor_assets. With that, I also removed the logic within the hooked function (block_scripts) to check for admin and post type. The block editor does not have context to the $_POST and these checks were preventing scripts from loading anywhere.
I noticed console errors for the admin CSS, but the file does not exist within the last few releases. I downloaded an older version and see the admin style we did introduce were very minimal and not necessary.
Update enqueue of
post-type-spotlight-block-editor
inclass-post-type-spotlight-block-editor.php
to use https://developer.wordpress.org/reference/hooks/enqueue_block_editor_assets/The text was updated successfully, but these errors were encountered: