1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 07:44:49 +02:00

Issue #1155, Issue #1035, and possibly related to Issue #928. These changes are precautions. Still not sure what is causing it.

This commit is contained in:
Cameron
2015-07-28 10:04:17 -07:00
parent f44c6b21c7
commit 585cae01ad
4 changed files with 24 additions and 6 deletions

View File

@@ -166,7 +166,13 @@ class wysiwyg
$this->getConfig($config);
$text = "\n /* TinyMce Config: ".$this->configName." */\n\n";
$text .= "tinymce.init({\n";
/* $text .= "setup: function (editor) {
editor.on('blur', function () {
editor.save();
});
},\n";*/
$text .= $this->config; // Moc: temporary fix for BC with PHP 5.3: https://github.com/e107inc/e107/issues/614
$text .= "\n});";
@@ -319,7 +325,7 @@ class wysiwyg
$ret = array(
'selector' => '.e-wysiwyg',
'theme' => 'modern',
'plugins' => $this->filter_plugins($config['tinymce_plugins']),
'language' => $this->tinymce_lang()