You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like the opportunity to load the fonts via theme.json. However, when I do that, I always have the UI for it in the editor and I don't want that. My current solution is to load the fonts via the theme.json and then set the block support for __experimentalFontFamily to false via the register_block_type_args.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I like the opportunity to load the fonts via theme.json. However, when I do that, I always have the UI for it in the editor and I don't want that. My current solution is to load the fonts via the theme.json and then set the block support for
__experimentalFontFamily
to false via theregister_block_type_args
.Is there a better solution? I use a classic or hybrid theme and would prefer to load the fonts via php.
Beta Was this translation helpful? Give feedback.
All reactions