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

Cannot import Google fonts in Gutenburg 16.9.0 #55879

Closed
Rajinsharwar opened this issue Nov 5, 2023 · 2 comments · Fixed by #55893
Closed

Cannot import Google fonts in Gutenburg 16.9.0 #55879

Rajinsharwar opened this issue Nov 5, 2023 · 2 comments · Fixed by #55893
Assignees
Labels
[Feature] Typography Font and typography-related issues and PRs [Type] Bug An existing feature does not function as intended

Comments

@Rajinsharwar
Copy link
Contributor

Rajinsharwar commented Nov 5, 2023

Description

Cannot import Google Fonts in Gutenburg 16.9.0 and with theme TT4

image

Error in Console:

image

Step-by-step reproduction instructions

  1. Make sure you have a full clean install of WP 6.4, and Gutenburg 16.9.0, and activated theme is TT4.
  2. Navigate under Appearance> Editor, and click on any page.
  3. Click on the styles tab:

image
4. Click Typography.
5. Click on Fonts > Install Fonts.
6. Try to import any Google Font.

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress version 6.4-RC3
  • Gutenburg version 16.9.0
  • TT4 version 1.0

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

@Rajinsharwar Rajinsharwar added the [Type] Bug An existing feature does not function as intended label Nov 5, 2023
@Rajinsharwar
Copy link
Contributor Author

Confirmed with Gutenberg version 16.7.0. The issue doesn't occur there, on my same installation.
Seeing the error response in the console, of not having proper permissions. 🤨

image

@jordesign jordesign added Needs Testing Needs further testing to be confirmed. [Feature] Typography Font and typography-related issues and PRs labels Nov 6, 2023
@t-hamano
Copy link
Contributor

t-hamano commented Nov 6, 2023

Thanks for the report. I was able to reproduce it.

After looking back at the commits, I found that this issue was caused by #54829. I would like to continue trying to find out what is the cause.

@t-hamano t-hamano removed the Needs Testing Needs further testing to be confirmed. label Nov 6, 2023
@t-hamano t-hamano self-assigned this Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Typography Font and typography-related issues and PRs [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants