We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reset button doesn't work with typography control when it has not font family default value.
Here's my config code
Kirki::add_field('my_theme', array( 'type' => 'typography', 'settings' => 'my_theme_entry_title', 'label' => __('Entry Title', 'my_theme'), 'description' => __('' ), 'section' => 'posts', 'priority' => 40, 'default' => array( 'font-size' => '26px', 'line-height' => $body__line_height, ), 'output' => array( array( 'element' => '.entry-title' ), ), ) );
The text was updated successfully, but these errors were encountered:
Can confirm, reset on typography field is buggy in this case.
Sorry, something went wrong.
556c23d
Good catch!
It never occurred to me that some people may use the typography control without a font-family... Fixed.
No branches or pull requests
Issue description:
Reset button doesn't work with typography control when it has not font family default value.
Here's my config code
The text was updated successfully, but these errors were encountered: