mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 02:38:59 +08:00
Merge pull request '[VE] Fix editor type for plugins' (#260) from fix/bugfix into release/v8.3.0
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/web-apps/pulls/260
This commit is contained in:
@ -129,7 +129,7 @@ define([
|
||||
loadConfig: function(data) {
|
||||
var me = this;
|
||||
me.configPlugins.config = data.config.plugins;
|
||||
me.editor = !!window.PDFE ? 'pdf' : !!window.DE ? 'word' : !!window.PE ? 'slide' : !!window.VE ? 'visio' : 'cell';
|
||||
me.editor = !!window.PDFE ? 'pdf' : !!window.DE ? 'word' : !!window.PE ? 'slide' : !!window.VE ? 'diagram' : 'cell';
|
||||
me.isPDFEditor = !!window.PDFE;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user