Description
When the "Make title a link" setting of the Title block in the Template editor is enabled, the markup is missing the anchor tag. Here are two screenshots for comparison.
"Make title a link" block setting enabled in the Template editor → the anchor tag is missing:

"Make title a link" block setting enabled in the page / post editor → the anchor tag is properly added:

Because of this difference, the theme styles related to the anchor tag don't get applied properly to the Title block in the Template editor.
This is however a minor issue and it doesn't affect the frontend.
Step-by-step reproduction instructions
- Head over to the template editor and add the Title block to it.
- Enable the "Make title a link" block setting in the editor sidebar.
- Review the block markup in the page source. There will be no anchor tag.
Screenshots, screen recording, code snippet
No response
Environment info
- Gutenberg 19.3.0
- WordPress 6.6.2
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Description
When the "Make title a link" setting of the Title block in the Template editor is enabled, the markup is missing the anchor tag. Here are two screenshots for comparison.
"Make title a link" block setting enabled in the Template editor → the anchor tag is missing:
"Make title a link" block setting enabled in the page / post editor → the anchor tag is properly added:
Because of this difference, the theme styles related to the anchor tag don't get applied properly to the Title block in the Template editor.
This is however a minor issue and it doesn't affect the frontend.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.