Custom Fonts (Adobe Fonts) in Editor
-
I use Adobe Fonts, embedded via custom CSS and the Custom Adobe Fonts Plugin a a clean and new WP-Installation.
The Site shows the right fonts in the Frontend. But in the Editor, it shows just the regular Theme-Fonts. I found a Workaround by adding some Code to the themes function.php
Code
—
/** * Show Adobe font in editor */ add_action( ‘enqueue_block_editor_assets’, function() { wp_enqueue_style( ‘adobe-fonts’, ‘Your Adobe Webproject URL here’ ); } );
—
Now in twentytwentythree, there is no functions.php anymore. Is there any similar workaround in the actual Version?
Thanks for the help
Sascha
The page I need help with: [log in to see the link]
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Custom Fonts (Adobe Fonts) in Editor’ is closed to new replies.