-
Notifications
You must be signed in to change notification settings - Fork 328
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
Kirki and Gutenberg editor #2037
Comments
Have a look in #2009 which does provide two ways to integrate Kirki output with Gutenberg. I don't believe there's any specific documentation out there right now for Kirki. |
Look like this is not working at all. Now this is outputting CSS in the dashboard :
Even though it's supposed to be sending it only to the front-end. And that just doesn't work : 'context' => array( 'editor' ), Also, I've tested this with a fresh install and twentynineteen :
That doesn't work either, it output it to the dashboard also, chaning the font will change the font in the dashboard. |
I believe this was a bug which was just fixed. in #2102. 'output' => array(
array(
'element' => 'body',
'property' => 'font-size',
),
array(
'element' => '.edit-post-visual-editor.editor-styles-wrapper',
'property' => 'font-size',
'context' => array( 'editor' ),
),
), |
Hi, Definitely working better! Thanks a lot. Some properties need to be a bit more specific for them to work so I'm trying this but it doesn't work. For example it still apply 'font-size' to '.edit-post-visual-editor.editor-styles-wrapper .editor-post-title__input', am I doing something wrong?
Thanks! |
@aristath Not sure if you had the notification for my last question. Thanks! |
Hello!
Is it possible to use Kirki output in editor.css ?
Just I receive recent new WP requirements. https://forums.envato.com/t/wordpress-requirements-update-and-new-gutenberg-optimized-attribute/207103
The text was updated successfully, but these errors were encountered: