wordpress-playground
wordpress-playground copied to clipboard
The preview site button opens a new tab with the playground UI
Prerequisites
- [x] I have carried out troubleshooting steps and I believe I have found a bug.
- [x] I have searched for similar bugs in both open and closed issues and cannot find a duplicate.
Describe the bug
When the user is working on the site editor, there is one link to preview the website. When users click that, it opens a new tab with the playground, without the playground admin bar.
https://github.com/user-attachments/assets/b8b7b2dd-f556-490f-826b-3c8f5a3bc583
Expected behavior
The preview button can open a new tab while keeping the playground admin bar open. Another alternative is to create a tab navigation inside the playground
Actual behavior
The preview button opens a tab with the URL requested without the playground admin panel
Steps to reproduce
- Go to the site editor
- Click on view icon at the top right menu
- Select the option view site
Isolating the problem
- [x] I have deactivated other plugins and confirmed this bug occurs when only this plugin is active.
- [x] This bug happens with a default WordPress theme active.
- [x] I can reproduce this bug consistently using the steps above.