Add api parameter customization.hideStartTips: hide theme tooltip
This commit is contained in:
parent
1dff1aaae3
commit
1bed0d1bf4
|
@ -156,7 +156,8 @@
|
||||||
plugins: true // can run plugins in document
|
plugins: true // can run plugins in document
|
||||||
macrosMode: 'warn' // warn about automatic macros, 'enable', 'disable', 'warn',
|
macrosMode: 'warn' // warn about automatic macros, 'enable', 'disable', 'warn',
|
||||||
trackChanges: undefined // true/false - open editor with track changes mode on/off,
|
trackChanges: undefined // true/false - open editor with track changes mode on/off,
|
||||||
hideRulers: false, // hide or show rulers on first loading (presentation or document editor)
|
hideRulers: false, // hide or show rulers on first loading (presentation or document editor),
|
||||||
|
hideStartTips: false // hide help toolips on starting editors
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
autostart: ['asc.{FFE1F462-1EA2-4391-990D-4CC84940B754}'],
|
autostart: ['asc.{FFE1F462-1EA2-4391-990D-4CC84940B754}'],
|
||||||
|
|
|
@ -328,7 +328,7 @@ define([
|
||||||
mnuitemDarkTheme.setChecked(Common.UI.Themes.isDarkTheme());
|
mnuitemDarkTheme.setChecked(Common.UI.Themes.isDarkTheme());
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!Common.localStorage.getBool("hide-dark-theme-tip")) {
|
if (!Common.localStorage.getBool("hide-dark-theme-tip") && !(config.customization && config.customization.hideStartTips===true)) {
|
||||||
me.themeTip = new Common.UI.SynchronizeTip({
|
me.themeTip = new Common.UI.SynchronizeTip({
|
||||||
target: me.header.btnOptions.$el,
|
target: me.header.btnOptions.$el,
|
||||||
placement : 'bottom-left',
|
placement : 'bottom-left',
|
||||||
|
|
|
@ -331,7 +331,7 @@ define([
|
||||||
mnuitemDarkTheme.setChecked(Common.UI.Themes.isDarkTheme());
|
mnuitemDarkTheme.setChecked(Common.UI.Themes.isDarkTheme());
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!Common.localStorage.getBool("hide-dark-theme-tip")) {
|
if (!Common.localStorage.getBool("hide-dark-theme-tip") && !(config.customization && config.customization.hideStartTips===true)) {
|
||||||
me.themeTip = new Common.UI.SynchronizeTip({
|
me.themeTip = new Common.UI.SynchronizeTip({
|
||||||
target: me.header.btnOptions.$el,
|
target: me.header.btnOptions.$el,
|
||||||
placement : 'bottom-left',
|
placement : 'bottom-left',
|
||||||
|
|
|
@ -342,7 +342,7 @@ define([
|
||||||
mnuitemDarkTheme.setChecked(Common.UI.Themes.isDarkTheme());
|
mnuitemDarkTheme.setChecked(Common.UI.Themes.isDarkTheme());
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!Common.localStorage.getBool("hide-dark-theme-tip")) {
|
if (!Common.localStorage.getBool("hide-dark-theme-tip") && !(config.customization && config.customization.hideStartTips===true)) {
|
||||||
me.themeTip = new Common.UI.SynchronizeTip({
|
me.themeTip = new Common.UI.SynchronizeTip({
|
||||||
target: me.header.btnOptions.$el,
|
target: me.header.btnOptions.$el,
|
||||||
placement : 'bottom-left',
|
placement : 'bottom-left',
|
||||||
|
|
Loading…
Reference in a new issue