Skip to content
Snippets Groups Projects
Commit e699df35 authored by Marco Huber's avatar Marco Huber
Browse files

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

In a flexform (f.e. powermail) the RTE id can have a . which has to be escaped to make the jquery selector work
parent 55451595
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…
...@@ -301,10 +301,10 @@ class Loader { ...@@ -301,10 +301,10 @@ class Loader {
var RTEarea = RTEarea || window.RTEarea; var RTEarea = RTEarea || window.RTEarea;
define([\'TYPO3/CMS/Tinymce/../../../../typo3conf/ext/tinymce/tinymce_node_modules/tinymce/jquery.tinymce.min.js\'], function () { 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) . '\', script_url : \'' . $this->getPath($tinymceSource, TRUE) . '\',
' . $this->replaceTypo3Paths($this->tinymceConfiguration['configurationData']) . ', ' . $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