diff --git a/tests/javascript/newsletter_editor/blocks/button.spec.js b/tests/javascript/newsletter_editor/blocks/button.spec.js index 84141a8329..835ac4c46e 100644 --- a/tests/javascript/newsletter_editor/blocks/button.spec.js +++ b/tests/javascript/newsletter_editor/blocks/button.spec.js @@ -322,7 +322,10 @@ define([ beforeEach(function () { global.stubChannel(EditorApplication); global.stubAvailableStyles(EditorApplication, { - fonts: ['Arial', 'Tahoma'], + fonts: { + standard: ['Arial', 'Tahoma'], + custom: ['Arvo', 'Lato', 'Lora'] + }, headingSizes: ['16px', '20px'] }); @@ -343,7 +346,10 @@ define([ global.stubChannel(EditorApplication); global.stubConfig(EditorApplication); global.stubAvailableStyles(EditorApplication, { - fonts: ['Arial', 'Tahoma'], + fonts: { + standard: ['Arial', 'Tahoma'], + custom: ['Arvo', 'Lato', 'Lora'] + }, headingSizes: ['16px', '20px'] }); }); diff --git a/views/newsletter/templates/blocks/button/settings.hbs b/views/newsletter/templates/blocks/button/settings.hbs index 110e50da35..57bfd3a795 100644 --- a/views/newsletter/templates/blocks/button/settings.hbs +++ b/views/newsletter/templates/blocks/button/settings.hbs @@ -44,9 +44,16 @@