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
|
collaboration: false / true // collaboration tab
|
||||||
protect: false / true, // protect tab
|
protect: false / true, // protect tab
|
||||||
plugins: false / true // plugins 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
|
save: false/true // save button on toolbar in
|
||||||
},
|
},
|
||||||
header: {
|
header: {
|
||||||
|
|
|
@ -175,10 +175,10 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="panel" data-tab="view">
|
<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>
|
<span class="btn-slot text x-huge" id="slot-btn-navigation"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="separator long"></div>
|
<div class="separator long" data-layout-name="toolbar-view-navigation"></div>
|
||||||
<div class="group small">
|
<div class="group small">
|
||||||
<div class="elset" style="display: flex;">
|
<div class="elset" style="display: flex;">
|
||||||
<span class="btn-slot" id="slot-field-zoom" style="flex-grow: 1;"></span>
|
<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.textTabInsert, action: 'ins', extcls: 'canedit', dataHintTitle: 'I'},
|
||||||
{caption: me.textTabLayout, action: 'layout', extcls: 'canedit', layoutname: 'toolbar-layout', dataHintTitle: 'L'},
|
{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.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.textTabInsert, action: 'ins', extcls: 'canedit', dataHintTitle: 'I'},
|
||||||
{caption: me.textTabTransitions, action: 'transit', extcls: 'canedit', dataHintTitle: 'N'},
|
{caption: me.textTabTransitions, action: 'transit', extcls: 'canedit', dataHintTitle: 'N'},
|
||||||
undefined,
|
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.textTabFormula, action: 'formula', extcls: 'canedit', dataHintTitle: 'O'},
|
||||||
{caption: me.textTabData, action: 'data', extcls: 'canedit', dataHintTitle: 'D'},
|
{caption: me.textTabData, action: 'data', extcls: 'canedit', dataHintTitle: 'D'},
|
||||||
undefined, undefined, undefined,
|
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