Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Site button should open the Site Editor with the current template open #38885

Closed
Aljullu opened this issue Feb 17, 2022 · 1 comment
Closed
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Feature] Templates API Related to API powering block template functionality in the Site Editor [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.

Comments

@Aljullu
Copy link
Contributor

Aljullu commented Feb 17, 2022

Description

Clicking on the Edit Site button on the top bar always redirects to the same template, without taking into account the template the user was viewing.

Step-by-step reproduction instructions

  1. Enable a block theme (Twenty Twenty-Two, for example).
  2. Go to any post or page in your store.
  3. In the top bar, press on Edit Site.
  4. Notice you are redirected to the Site Editor, but the loaded template is Home.

Expected behavior:
3. I would expect the template I was in to be loaded by default. Ie, if I was in a post or page, it should load the Single template (or the template that post/page is using).

Screenshots, screen recording, code snippet

Kooha-02-17-2022-14-36-41

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@Aljullu Aljullu added the [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") label Feb 17, 2022
@nerrad nerrad added [Feature] Templates API Related to API powering block template functionality in the Site Editor [Type] Enhancement A suggestion for improvement. labels Feb 17, 2022
@carolinan carolinan added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Feb 17, 2022
@carolinan
Copy link
Contributor

Hi, I am closing this as a duplicate of #37850

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Feature] Templates API Related to API powering block template functionality in the Site Editor [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants