mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[PE] Fix context menu
This commit is contained in:
@ -95,7 +95,6 @@ define([], function () {
|
||||
Common.NotificationCenter.on('forms:image-select', _.bind(this.selectFormImage, this));// select from right pane
|
||||
}
|
||||
this.api.asc_registerCallback('onPluginContextMenu', _.bind(this.onPluginContextMenu, this));
|
||||
this.documentHolder.setApi(this.api);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -216,6 +216,7 @@ define([], function () {
|
||||
me.mnuGuides = new Common.UI.MenuItem({
|
||||
caption : me.textGuides,
|
||||
menu : new Common.UI.Menu({
|
||||
cls: 'shifted-right',
|
||||
menuAlign: 'tl-tr',
|
||||
items: [
|
||||
{ caption: me.textShowGuides, value: 'show', checkable: true },
|
||||
@ -232,6 +233,7 @@ define([], function () {
|
||||
me.mnuGridlines = new Common.UI.MenuItem({
|
||||
caption : me.textGridlines,
|
||||
menu : new Common.UI.Menu({
|
||||
cls: 'shifted-right',
|
||||
menuAlign: 'tl-tr',
|
||||
items: [
|
||||
{ caption: me.textShowGridlines, value: 'show', checkable: true },
|
||||
|
||||
Reference in New Issue
Block a user