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

[BUGFIX] Manually trigger the save to the plain textarea if a save button was clicked

parent 73117b76
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,19 @@ class RteBase extends AbstractRte {
window.RTE["editor' . $editorId . '"] = {};
window.RTE["editor' . $editorId . '"].rteConfiguration = "' . $rteConfiguration . '";
window.RTE["editor' . $editorId . '"].typo3ContentLanguage = "' . $language . '";
window.RTE["editor' . $editorId . '"].sys_language_content = parseInt(' . $languageId . ');'
window.RTE["editor' . $editorId . '"].sys_language_content = parseInt(' . $languageId . ');
// manually trigger the save to the plain textarea if a save button was clicked
$$(".c-inputButton").each(
function(element) {
element.observe(
"click", function() {
tinyMCE.triggerSave();
}
);
}
);
'
);
return $code;
......
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