Can’t save custom header template
Description
Can’t assign and save custom header template

Step-by-step reproduction instructions
1 Created a new page and published view the page in front end and I am still login.
2 Click on the edit site and takes to the Front page instead of the new page.
3 Click Front Page arrow than I click on Browse all templates
4 Click on Back and click on the Template Parts, and click on Headers
5 and 6 Click custom temple and click save button. It doesn’t do anything.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 5.8.1 Gutenberg 11.8 TwentyTwenty-Two Chrome and MacBook Pro
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
Thank you for the clear steps. This process opens a header template part. It does not assign it to your current template.
When you select the template part in the black sidebar in the site editor, it opens it. The save button only activates when you have made changes to the template part.
To assign a template part you can do the following:
- Open the page you want to change in the site editor.
To add a new header, Select the block inserter. Type in "header". You will see previews of the headers that are available in the theme. Select a header from one of the previews, or select the header block. (The header block is an alias for template part.) Now you can choose an existing header or start with an empty header and add the blocks yourself. After you made these changes to your template, you can save the template. Or both the template and template part depending on what changes you made.
To replace an existing header, Select the header block. Select the replace option in the toolbar. -If the theme has provided headers, you can select one of them. After you made these changes to your template, you can save the template. Or both the template and template part depending on what changes you made.
Do will do that thank you!
Closing as answered.