Unyson
Unyson copied to clipboard
Typography v2 crashes browser when saving options
Hi, guys!
I'm having troubles when using Typography v2 option type in Theme options
'primary_font' => array(
'type' => 'typography-v2',
'value' => array(
'family' => 'Amarante',
'style' => 'normal',
'weight' => 700,
'subset' => 'latin',
'variation' => 'regular',
'size' => 14,
'line-height' => 13,
'letter-spacing' => -2,
'color' => '#0000ff'
),
'components' => array(
'family' => true,
'size' => true,
'style' => true,
'weight' => true,
'variation' => true,
'line-height' => true,
'letter-spacing' => true,
'color' => true
),
'label' => __('Primary font', 'mytheme'),
'desc' => __('used in base typography, e.g. Paragraph of text', 'mytheme'),
),
when i click "save settings" button, browser freezes and this tab not responding more. Any ideas how to avoid this?
Thank you
sorry, it seems, this issue is not related to the typography directly, i'll check my theme options again