Update CKEditor timestamp if editor module config is updated #2173

This commit is contained in:
Kijin Sung 2023-09-12 23:03:12 +09:00
parent ec674dc25f
commit 68ee78f1f8
4 changed files with 19 additions and 10 deletions

View file

@ -265,6 +265,9 @@ class editorModel extends editor
// Check an option whether to start the editor manually.
Context::set('editor_manual_start', $option->manual_start ?? null);
// Add the timestamp for the editor module config.
Context::set('editor_config_timestamp', $option->timestamp ?? 0);
// Compile and return the editor skin template.
$tpl_path = Context::get('editor_path');
Context::loadLang($tpl_path.'lang');