From ce3d52736f84fb4ff38c24500c71734949eca67a Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Tue, 28 May 2019 20:39:37 +0200 Subject: [PATCH] Suffix for prevent cache in TinyMCE --- bl-plugins/tinymce/plugin.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bl-plugins/tinymce/plugin.php b/bl-plugins/tinymce/plugin.php index f3c1cd9f..75e85050 100644 --- a/bl-plugins/tinymce/plugin.php +++ b/bl-plugins/tinymce/plugin.php @@ -58,8 +58,9 @@ class pluginTinymce extends Plugin { $toolbar1 = $this->getValue('toolbar1'); $toolbar2 = $this->getValue('toolbar2'); - $content_css = $this->htmlPath().'css/tinymce.css?version='.$this->version(); + $content_css = $this->htmlPath().'css/tinymce.css'; $plugins = $this->getValue('plugins'); + $version = $this->version(); $lang = 'en'; if (file_exists($this->phpPath().'tinymce'.DS.'langs'.DS.$L->currentLanguage().'.js')) { @@ -105,12 +106,13 @@ $html = <<