1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

Issue #1585 TinyMce Language fix.

This commit is contained in:
Cameron 2016-04-27 15:25:23 -07:00
parent dc1c46acc1
commit 501514b06f

View File

@ -363,13 +363,15 @@ class wysiwyg
$this->configName = $config['@attributes']['name'];
$tinyMceLanguage = $this->tinymce_lang();
unset($config['@attributes']);
$ret = array(
'selector' => '.e-wysiwyg',
// 'editor_selector' => 'advancedEditor',
'language' => $this->tinymce_lang()
'language' => $tinyMceLanguage,
'language_url' => SITEURLBASE.e_PLUGIN_ABS."tinymce4/langs/" . $tinyMceLanguage . ".js"
);
// if(e_ADMIN_AREA)