diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index 7956c7737..a91876013 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -194,7 +194,7 @@ } / false / true // if false/true - use as init value in de/pe. use instead of customization.spellcheck parameter }, font: { - family: "Arial", + name: "Arial", }, chat: true, comments: true, diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 114d6afa3..f2dd0f5fa 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -381,8 +381,8 @@ define([ Common.Utils.InternalSettings.set("save-guest-username", !!value); } if (this.appOptions.customization.font) { - if (this.appOptions.customization.font.family && typeof this.appOptions.customization.font.family === 'string') { - var arr = this.appOptions.customization.font.family.split(','); + if (this.appOptions.customization.font.name && typeof this.appOptions.customization.font.name === 'string') { + var arr = this.appOptions.customization.font.name.split(','); for (var i=0; i