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

Merge branch 'master' into 'master'

In a flexform (f.e. powermail) the RTE id can have a . which has to be escaped t…

…o make the jquery selector work.

The RTE's id in the powermail flexform tab "Submit Page" is RTEareadata_tt_content__213002__pi_flexform__data__thx__lDEF__settings.flexform.thx.body__vDEF_. But the . breaks the jQuery selector, so we have to escape it.

See merge request !8
parents 55451595 e699df35
No related branches found
No related tags found
1 merge request!8In a flexform (f.e. powermail) the RTE id can have a . which has to be escaped t…
Pipeline #
......@@ -301,10 +301,10 @@ class Loader {
var RTEarea = RTEarea || window.RTEarea;
define([\'TYPO3/CMS/Tinymce/../../../../typo3conf/ext/tinymce/tinymce_node_modules/tinymce/jquery.tinymce.min.js\'], function () {
$(\'.tinymce4_rte#RTEarea' . $this->tinymceConfiguration['configurationDataArray']['editornumber'] . '\').tinymce({
$(\'.tinymce4_rte#RTEarea' . str_replace('.', '\\\\.', $this->tinymceConfiguration['configurationDataArray']['editornumber']) . '\').tinymce({
script_url : \'' . $this->getPath($tinymceSource, TRUE) . '\',
' . $this->replaceTypo3Paths($this->tinymceConfiguration['configurationData']) . ',
selector: \'.tinymce4_rte#RTEarea' . $this->tinymceConfiguration['configurationDataArray']['editornumber'] . '\'
selector: \'.tinymce4_rte#RTEarea' . str_replace('.', '\\\\.', $this->tinymceConfiguration['configurationDataArray']['editornumber']) . '\'
});
});
';
......
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