Bug #25286
closedRTE is not loading when using eval required on input field of flexform
0%
Description
Problem:
We developed a flexible-CE-object some years ago giving an editor the possibilty to add 0 to x links via a TV section. This flexible-CE-object also uses an RTE field – outside the section. And this RTE field doesn’t work any longer - I think since we upgraded from TYPO3 4.2.x to 4.4.x.
It permanently shows: „The editor is being loaded. Please wait...“. The debug mode of RTE only shows:
[HTMLArea::init]: Editor url set to: sysext/rtehtmlarea/htmlarea/
[HTMLArea::init]: Editor skin CSS set to: sysext/t3skin/rtehtmlarea/htmlarea.css?1298470801
[HTMLArea::init]: Editor content skin CSS set to: sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css?1298470801
In normal content elements (e.g. text or image with text) the problem doesn’t occur.
Reason of this problem:
First a thought this problem is produced by the section - if I delete section, RTE works perfectly again. I asked RTE-expert Stanislas for help. He says:
"This is not a RTE issue. A js error is raised in jsfunc.tbe_editor.js while checking for required elements. The error interrupts inline JavaScript execution before initialization of the RTE is invoked. This explains why the RTE is not loading."
To get a working RTE I don't have to delete the whole section, it's only necessary to delete "<eval>trim, required</eval>" which is used in one of the input fields in the section. Without "required" all works fine again!
Don't tested if this issue occurs only in sections.
Attached the XML-code of the data structure. Kine 517 is the "problem-line" - it is commented out.
(issue imported from #M17899)
Files
Updated by Tolleiv Nietsch over 13 years ago
Rendering Flexforms is done in the Core not in TemplaVoila
Updated by Stanislas Rolland over 13 years ago
- Category set to RTE (rtehtmlarea + ckeditor)
- Target version deleted (
0)
Updated by Stanislas Rolland about 13 years ago
- Category changed from RTE (rtehtmlarea + ckeditor) to FormEngine aka TCEforms
Updated by Alexander Opitz almost 10 years ago
- Status changed from New to Needs Feedback
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.7)?
Updated by Christian Clemens almost 10 years ago
The TYPO3 version of our client is still 4.5.x. I think the problem is solved or no longer interesting for our client.
Updated by Alexander Opitz almost 10 years ago
- Status changed from Needs Feedback to Closed
Thanks for your feedback.