Bug: Responsive Preview Not Working When Ghostkit is Active
Hi Ghostkit team,
First off, thank you for the great work on the plugin – it’s a powerful and well-designed tool that really improves the editing experience in WordPress.
I’ve encountered a bug that I wanted to report:
Issue
When Ghostkit is active, the responsive preview in the WordPress editor (mobile/tablet/desktop view buttons) stops working.
What I’ve Checked
- No JavaScript errors in the browser console
- No PHP errors reported
- Happens in Safari, Firefox, and Chrome (latest versions)
- Clicking on any device-size button has no effect (screenshot attached)
- Disabling Ghostkit immediately resolves the issue
System Info
- PHP version: 8.4.13
- WordPress version: 6.8.3
- Ghostkit version: 3.4.4
Hi @richardkarsten
Thank you for your kind words. Regarding the issue - I can't reproduce it on my end. It works in the page editor with the versions you provided. There's probably a conflict with some third-party plugins or themes.
Hey all, I noticed the issue can be reproduced when at least one block uses the legacy apiVersion 2. In that case, the Block Editor is rendered inline and not in an iframe, which causes issues with GhostKit's preview functionality.