Suffix for prevent cache in TinyMCE
This commit is contained in:
parent
cbb8c0653e
commit
ce3d52736f
|
@ -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,6 +106,7 @@ $html = <<<EOF
|
|||
convert_urls: true,
|
||||
relative_urls: false,
|
||||
valid_elements: "*[*]",
|
||||
cache_suffix: "?version=$version",
|
||||
$document_base_url
|
||||
plugins: ["$plugins"],
|
||||
toolbar1: "$toolbar1",
|
||||
|
|
Loading…
Reference in New Issue