Fix custom fonts for buttons [MAILPOET-1633]

This commit is contained in:
Amine Ben hammou
2018-11-13 15:19:42 +01:00
parent c778b84932
commit 8ff4f7720b
2 changed files with 19 additions and 3 deletions

View File

@@ -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']
});
});