Support » Plugin: Redux - Gutenberg Blocks Library & Framework » Typography field – Do not saving when font-style false

  • Resolved maaprote

    (@maaprote)


    Hello,

    First thanks for your great plugin.

    The typography field is not saving when “font-style” para is “false”.

    Here’s what I’m trying:

    array(
                'id'          => 'layout-typography-body',
                'type'        => 'typography', 
                'title'       => esc_html__('Body Font Size (<body>)', 'textdomain'),
                'google'      => false, 
                'font-backup' => true,
                'text-align'  => false,
                'font-style'  => false,
                'font-weight' => false,
                'line-height' => true,
                'color'       => false,
                'font-family' => false,
                'output'      => array('h2.site-description'),
                'units'       =>'px',
                'subtitle'    => esc_html__( 'Controls font size of <body> tag', 'textdomain'),
                'default'     => array(
                    'font-size'   => '14px',
                    'line-height' => '22px',
                    'font-weight' => '400'
                )
            )
    

    How to reproduce:
    – create a filed like above
    – click to save
    – reload the page and see the field value do not change/save

    I am using latest version of redux.

    Rodrigo.

    • This topic was modified 1 month, 3 weeks ago by maaprote.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.