Render submit font in JS
[MAILPOET-2911]
This commit is contained in:
@@ -31,6 +31,10 @@ class Submit {
|
||||
|
||||
$html .= 'data-automation-id="subscribe-submit-button" ';
|
||||
|
||||
if (isset($block['styles']['font_family'])) {
|
||||
$html .= "data-font-family='{$block['styles']['font_family']}' " ;
|
||||
}
|
||||
|
||||
$styles = $this->stylesRenderer->renderForButton($block['styles'] ?? [], $formSettings);
|
||||
|
||||
if ($styles) {
|
||||
|
Reference in New Issue
Block a user