Bug #64713
closed
' Unexpected token }' when editing text with image CE
Added by Tymoteusz Motylewski almost 10 years ago.
Updated about 6 years ago.
Category:
FormEngine aka TCEforms
Description
current master
1. go to page module
2. open browsers console
3. create new CE type "text" or "text with image"
4. in the console you'll see an error:
Wrap.open.js?1418209900:1 Uncaught SyntaxError: Unexpected end of input
Wrap.close.js?1418209900:2 Uncaught SyntaxError: Unexpected token }
I can confirm this issue in Chrome 40.
Yes, the problem arises when the RTE JS files are not concatenated.
- Status changed from New to Accepted
- Assignee set to Stanislas Rolland
you also need to have $TYPO3_CONF_VARS['BE']['debug'] set to true to reproduce it.
I confirm this bug. Any idea on how to solve that? Using another "concatenated" version of the scripts when debug is on?
Since all components are AMD modules, I think we could simply remove the wrapper files.
@Stanislas: What did you think? Could this solve the problem or did we open other issues then? It looks like that multiple instances on the same page works without the wrapper files.
- Category changed from RTE (rtehtmlarea + ckeditor) to 1600
- Status changed from Accepted to Under Review
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41853
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41853
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF