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:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user