From 2badc1dc698dabd47b339bb961053e3718c5a62e Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Tue, 15 Dec 2020 02:37:30 +0900 Subject: [PATCH] Refresh timestamp on all CKEditor plugins if CKEditor itself is updated --- modules/editor/skins/ckeditor/editor.html | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/modules/editor/skins/ckeditor/editor.html b/modules/editor/skins/ckeditor/editor.html index 7c61c9413..902fbf378 100644 --- a/modules/editor/skins/ckeditor/editor.html +++ b/modules/editor/skins/ckeditor/editor.html @@ -28,13 +28,15 @@ var auto_saved_msg = "{$lang->msg_auto_saved}"; {@ $css_content = "" } - + +{@ $ckeditor_main_filemtime = filemtime(RX_BASEDIR . 'common/js/plugins/ckeditor/ckeditor/ckeditor.js')} +{@ $ckeditor_config_filemtime = file_exists(RX_BASEDIR . 'common/js/plugins/ckeditor/ckeditor/config.js') ? filemtime(RX_BASEDIR . 'common/js/plugins/ckeditor/ckeditor/config.js') : 0} {@ $editor_height_fixed = $editor_height + ($editor_toolbar_hide ? 58 : ($editor_toolbar === 'simple' ? 74 : 140))}
@@ -48,7 +50,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";