Use customization config for hiding view tab and navigation button in the toolbar
This commit is contained in:
parent
d1d6d2eea6
commit
db7ba9e448
|
@ -161,6 +161,9 @@
|
|||
collaboration: false / true // collaboration tab
|
||||
protect: false / true, // protect tab
|
||||
plugins: false / true // plugins tab
|
||||
view: {
|
||||
navigation: false/true // navigation button in de
|
||||
} / false / true, // view tab
|
||||
save: false/true // save button on toolbar in
|
||||
},
|
||||
header: {
|
||||
|
|
|
@ -175,10 +175,10 @@
|
|||
</div>
|
||||
</section>
|
||||
<section class="panel" data-tab="view">
|
||||
<div class="group">
|
||||
<div class="group" data-layout-name="toolbar-view-navigation">
|
||||
<span class="btn-slot text x-huge" id="slot-btn-navigation"></span>
|
||||
</div>
|
||||
<div class="separator long"></div>
|
||||
<div class="separator long" data-layout-name="toolbar-view-navigation"></div>
|
||||
<div class="group small">
|
||||
<div class="elset" style="display: flex;">
|
||||
<span class="btn-slot" id="slot-field-zoom" style="flex-grow: 1;"></span>
|
||||
|
|
|
@ -114,7 +114,7 @@ define([
|
|||
{caption: me.textTabInsert, action: 'ins', extcls: 'canedit', dataHintTitle: 'I'},
|
||||
{caption: me.textTabLayout, action: 'layout', extcls: 'canedit', layoutname: 'toolbar-layout', dataHintTitle: 'L'},
|
||||
{caption: me.textTabLinks, action: 'links', extcls: 'canedit', layoutname: 'toolbar-references', dataHintTitle: 'R'},
|
||||
{caption: me.textTabView, action: 'view', extcls: 'canedit', dataHintTitle: 'W'}
|
||||
{caption: me.textTabView, action: 'view', extcls: 'canedit', layoutname: 'toolbar-view', dataHintTitle: 'W'}
|
||||
]
|
||||
}
|
||||
);
|
||||
|
|
|
@ -136,7 +136,7 @@ define([
|
|||
{caption: me.textTabInsert, action: 'ins', extcls: 'canedit', dataHintTitle: 'I'},
|
||||
{caption: me.textTabTransitions, action: 'transit', extcls: 'canedit', dataHintTitle: 'N'},
|
||||
undefined,
|
||||
{caption: me.textTabView, action: 'view', extcls: 'canedit', dataHintTitle: 'W'}
|
||||
{caption: me.textTabView, action: 'view', extcls: 'canedit', layoutname: 'toolbar-view', dataHintTitle: 'W'}
|
||||
]
|
||||
}
|
||||
);
|
||||
|
|
|
@ -366,7 +366,7 @@ define([
|
|||
{caption: me.textTabFormula, action: 'formula', extcls: 'canedit', dataHintTitle: 'O'},
|
||||
{caption: me.textTabData, action: 'data', extcls: 'canedit', dataHintTitle: 'D'},
|
||||
undefined, undefined, undefined,
|
||||
{caption: me.textTabView, action: 'view', extcls: 'canedit', dataHintTitle: 'W'}
|
||||
{caption: me.textTabView, action: 'view', extcls: 'canedit', layoutname: 'toolbar-view', dataHintTitle: 'W'}
|
||||
]}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue