diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index b9f069c743..6ef6643639 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -248,6 +248,7 @@ hideNotes: false // hide or show notes panel on first loading (presentation editor) uiTheme: 'theme-dark' // set interface theme: id or default-dark/default-light integrationMode: "embed" // turn off scroll to frame + pointerMode: 'select'/'hand' // set cursor mode in presentation editor, select by default mobile: { forceView: true/false (default: true) // turn on/off the 'reader' mode on launch. for mobile document editor only standardView: true/false (default: false) // open editor in 'Standard view' instead of 'Mobile view' diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index f53aef9daa..648b678427 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -944,6 +944,8 @@ define([ value = Common.localStorage.getBool('pe-hidden-notes', this.appOptions.customization && this.appOptions.customization.hideNotes===true); me.api.asc_ShowNotes(!value); + me.api.asc_setViewerTargetType(this.appOptions.customization && this.appOptions.customization.pointerMode==='hand' ? 'hand' : 'select'); + function checkWarns() { if (!Common.Controllers.Desktop.isActive()) { var tips = [];