Bug #64713
closed' Unexpected token }' when editing text with image CE
100%
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 }
Updated by Andreas Kienast almost 10 years ago
I can confirm this issue in Chrome 40.
Updated by Stanislas Rolland almost 10 years ago
Yes, the problem arises when the RTE JS files are not concatenated.
Updated by Stanislas Rolland almost 10 years ago
- Status changed from New to Accepted
- Assignee set to Stanislas Rolland
Updated by Tymoteusz Motylewski almost 10 years ago
you also need to have $TYPO3_CONF_VARS['BE']['debug'] set to true to reproduce it.
Updated by Xavier Perseguers over 9 years ago
I confirm this bug. Any idea on how to solve that? Using another "concatenated" version of the scripts when debug is on?
Updated by Frank Nägler over 9 years ago
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.
Updated by Christian Kuhn over 9 years ago
- Category changed from RTE (rtehtmlarea + ckeditor) to 1600
Updated by Gerrit Code Review over 9 years ago
- 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
Updated by Gerrit Code Review over 9 years ago
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
Updated by Frank Nägler over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 31592d2b1b32d556ad64c9a7fb02f5c73b792d0c.