summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--editors/nicedit.inc7
2 files changed, 3 insertions, 5 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index aa5bdc1..2566116 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
Wysiwyg 6.x-x.x, xxxx-xx-xx
---------------------------
+#327710 by sun: Fixed nicEdit version could not be detected.
#328116 by sun: Added Safari plugin for TinyMCE 3.
#327710 by sun: Added nicEdit support.
#323855 by sun: Increased supported version of jWYSIWYG to 0.5.
diff --git a/editors/nicedit.inc b/editors/nicedit.inc
index 616d5fe..e9433ce 100644
--- a/editors/nicedit.inc
+++ b/editors/nicedit.inc
@@ -41,11 +41,8 @@ function wysiwyg_nicedit_editor() {
*/
function wysiwyg_nicedit_version($editor) {
$script = wysiwyg_get_path('nicedit') . '/nicedit.js';
- // Note: This is 100% lame. nicEdit developers: Please add version info.
- $size = (filesize($script) / 1000);
- if ($size > 41) {
- return '0.9';
- }
+ // @see http://nicedit.com/forums/viewtopic.php?t=425
+ return '0.9';
}
/**