Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently if you have 3.4.1, Drupal.ckeditorCompareVersion('3.3.2') returns false.
The code:
for (var x in ckver) {
if (ckver[x]<version[x]) {
return false;
}
}
return true;
should be changed to:
for (var x in ckver) {
if (ckver[x]<version[x]) {
return false;
}
elseif (ckver[x]>version[x]) {
return true;
}
}
return true;
This is a potential bug, as it only used in the config file to compare against 3.1 version.
Comments
Comment #1
dczepierga CreditAttribution: dczepierga commentedReally thx for your attention.
I commit changes to D6 and D7 version of CKEditor module.
Greetings