Skip to content
Snippets Groups Projects
Commit 55451595 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

Merge branch 'master' into 'master'

[BUGFIX/REVERT] Revert 4bd962b5 and use unique identifier to enable both, multiple RTEs in one record and multiple RTEs because of IRRE



See merge request !7
parents 8801f31d cf9bf7ae
No related branches found
Tags 4.3.4
1 merge request!7[BUGFIX/REVERT] Revert 4bd962b and use unique identifier to enable both, multiple RTEs in one record and multiple RTEs because of IRRE
Pipeline #
......@@ -301,14 +301,11 @@ class Loader {
var RTEarea = RTEarea || window.RTEarea;
define([\'TYPO3/CMS/Tinymce/../../../../typo3conf/ext/tinymce/tinymce_node_modules/tinymce/jquery.tinymce.min.js\'], function () {
if(!$(\'.tinymce4_rte\').data(\'first\')){
$(\'.tinymce4_rte\').data(\'first\', true);
$(\'.tinymce4_rte\').tinymce({
script_url : \'' . $this->getPath($tinymceSource, TRUE) . '\',
' . $this->replaceTypo3Paths($this->tinymceConfiguration['configurationData']) . '
});
}
$(\'.tinymce4_rte#RTEarea' . $this->tinymceConfiguration['configurationDataArray']['editornumber'] . '\').tinymce({
script_url : \'' . $this->getPath($tinymceSource, TRUE) . '\',
' . $this->replaceTypo3Paths($this->tinymceConfiguration['configurationData']) . ',
selector: \'.tinymce4_rte#RTEarea' . $this->tinymceConfiguration['configurationDataArray']['editornumber'] . '\'
});
});
';
$configuration .= $this->tinymceConfiguration['postJS'];
......@@ -380,6 +377,7 @@ class Loader {
}
$this->tinymceConfiguration['configurationData'] .= $key . ': ' . $value;
$this->tinymceConfiguration['configurationDataArray'][$key] = $value;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment