[PE] Check editors support when loading plugins.
This commit is contained in:
parent
aa0797286a
commit
a04a34f21a
|
@ -1494,7 +1494,7 @@ define([
|
||||||
variations.forEach(function(itemVar){
|
variations.forEach(function(itemVar){
|
||||||
var isSupported = false;
|
var isSupported = false;
|
||||||
for (var i=0; i<itemVar.EditorsSupport.length; i++){
|
for (var i=0; i<itemVar.EditorsSupport.length; i++){
|
||||||
if (itemVar.EditorsSupport[i]=='word') {
|
if (itemVar.EditorsSupport[i]=='slide') {
|
||||||
isSupported = true; break;
|
isSupported = true; break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue