最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Gutenberg block previews suddenly not working

programmeradmin1浏览0评论

I have an issue with the Gutenberg block previews suddenly not showing at all when hovering over available blocks in the side panel. I have tried:

  • Commenting out custom code in the functions.php, including removing any enqueued JavaScript and CSS from the admin
  • Deactivating plugins (such as Advanced Custom Fields)

But the preview popup is still not showing. It worked initially, but right now it's not working at all. I can't see any errors in the JavaScript console or by enabling debug in the wp-config.php.

The expected behaviour would be for each block to show a preview and a description of the block that you're hovering, but that popup is not showing as it is now. See this image for how it should look like:

I've tried searching for this on Google, but I can't find anyone else having this problem. Has anyone here had this problem and knows what was causing it? Or is it a problem occurring because of a bug in Wordpress itself?

发布评论

评论列表(0)

  1. 暂无评论