mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Issue #1585 TinyMce Language fix.
This commit is contained in:
@@ -363,13 +363,15 @@ class wysiwyg
|
|||||||
|
|
||||||
$this->configName = $config['@attributes']['name'];
|
$this->configName = $config['@attributes']['name'];
|
||||||
|
|
||||||
|
$tinyMceLanguage = $this->tinymce_lang();
|
||||||
|
|
||||||
unset($config['@attributes']);
|
unset($config['@attributes']);
|
||||||
|
|
||||||
$ret = array(
|
$ret = array(
|
||||||
'selector' => '.e-wysiwyg',
|
'selector' => '.e-wysiwyg',
|
||||||
// 'editor_selector' => 'advancedEditor',
|
// 'editor_selector' => 'advancedEditor',
|
||||||
'language' => $this->tinymce_lang()
|
'language' => $tinyMceLanguage,
|
||||||
|
'language_url' => SITEURLBASE.e_PLUGIN_ABS."tinymce4/langs/" . $tinyMceLanguage . ".js"
|
||||||
);
|
);
|
||||||
|
|
||||||
// if(e_ADMIN_AREA)
|
// if(e_ADMIN_AREA)
|
||||||
|
Reference in New Issue
Block a user