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

Recently imported+edited template does not appear on the page editor's template list #32390

Closed
arunsathiya opened this issue Jun 2, 2021 · 1 comment
Labels
[Feature] Template Editing Mode Related to the template editor available in the Block Editor Needs Testing Needs further testing to be confirmed.

Comments

@arunsathiya
Copy link
Contributor

arunsathiya commented Jun 2, 2021

Description

When a template is imported as a block pattern, and when it is edited, I am able to come back to the normal page editor mode. Upon doing so, the newly imported+edited template is missing from the Templates dropdown list.

Step-by-step reproduction instructions

  • Import a template as a block pattern (I haven't tested if the same behaviour can be seen for new templates as well)
  • Edit the template on the template editing mode
  • Come back to the normal page editing mode
  • See that the template on the right sidebar shows the first one on the list and not the one you just created/edited.

Expected behaviour

The recently edited template must be chosen.

Actual behaviour

The first template in the list is chosen instead. In this screenshot, it shows 404 but I was expecting that to be Portfolio template because that's what I just imported/edited.

image

Screenshots or screen recording (optional)

Added above.

Code snippet (optional)

Not applicable.

WordPress information

  • WordPress version: 5.7.2
  • Gutenberg version: 10.5.3
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Mayland Blocks

Device information

  • Device: MacBook Pro
  • Operating system: Mac OS
  • Browser: Firefox 88.0.1
@talldan talldan added [Feature] Template Editing Mode Related to the template editor available in the Block Editor Needs Testing Needs further testing to be confirmed. labels Jun 9, 2021
@youknowriad
Copy link
Contributor

I think this is fixed in #32744

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Template Editing Mode Related to the template editor available in the Block Editor Needs Testing Needs further testing to be confirmed.
Projects
None yet
Development

No branches or pull requests

3 participants