Skip to content

Commit

Permalink
[PDF] Add pdf flag for plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaSvinareva committed Nov 25, 2023
1 parent 2ffc010 commit fc3b679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/common/main/lib/controller/Plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ define([
loadConfig: function(data) {
var me = this;
me.configPlugins.config = data.config.plugins;
me.editor = (!!window.DE || !!window.PDFE) ? 'word' : !!window.PE ? 'slide' : 'cell';
me.editor = !!window.PDFE ? 'pdf' : !!window.DE ? 'word' : !!window.PE ? 'slide' : 'cell';
me.isPDFEditor = !!window.PDFE;
},

Expand Down

0 comments on commit fc3b679

Please sign in to comment.