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

[Template Editor] Unable to clear out template name to rename it #33471

Closed
annezazu opened this issue Jul 15, 2021 · 2 comments · Fixed by #42065
Closed

[Template Editor] Unable to clear out template name to rename it #33471

annezazu opened this issue Jul 15, 2021 · 2 comments · Fixed by #42065
Assignees
Labels
[Feature] Template Editing Mode Related to the template editor available in the Block Editor [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@annezazu
Copy link
Contributor

Description

If you try to rename a template by fully removing the template name in order to add a new one, a filler name is added in and you're unable to remove the contents/rename properly. This makes renaming very difficult.

Step-by-step reproduction instructions

  1. Use a theme with template editor support.
  2. Create a new template.
  3. Using the top toolbar, try to rename the template by deleting the current contents. See error.

Expected behaviour

Can clear out the template name

Actual behaviour

Upon clearing out the template name, a slug is automatically added in its place.

Screenshots or screen recording (optional)

renaming.templates.mov

WordPress information

  • WordPress version: 5.8RC3
  • Gutenberg version: 11.0.0
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? TT1 Blocks

Device information

  • Device: Desktop
  • Operating system: MacOS
  • Browser: Chrome 89
@annezazu annezazu added [Type] Bug An existing feature does not function as intended [Feature] Template Editing Mode Related to the template editor available in the Block Editor labels Jul 15, 2021
@annezazu
Copy link
Contributor Author

annezazu commented Feb 7, 2022

This still happens in 5.9.

@annezazu
Copy link
Contributor Author

This still happens in 6.0.

@Mamaduka Mamaduka self-assigned this Jun 30, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jun 30, 2022
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 [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants