Bug #15692
closed"Insert-Link"-Feature doesn't work
0%
Description
"Insert-Link"-Feature doesn't work with rtehtmlarea , if you click on the link button, it just reloads the page. Tested with htmlarea 1.0.0, 1.1.3, 1.1.6 and typo3 3.8.0 and firefox 1.0.7 and IE 6.
that's a bug similar to http://bugs.typo3.org/view.php?id=1423 except i have this javascript error :
Erreur : missing } after property list
Fichier Source : http://example.com/typo3temp/rtehtmlarea_htmlarea_eba1f5c22278132273b897fcb3b6f428.js
Ligne : 245, Colonne : 37
Code Source :
,image : "http://example.com/"""
with htmlarea 1.1.6
and
Erreur : missing } after property list
Fichier Source : http://example.com/typo3conf/ext/rtehtmlarea/htmlarea/htmlarea.js
Ligne : 191, Colonne : 37
Code Source :
,image : "http://example.com/"""
with htmlarea 1.0.0
(issue imported from #M2656)
Updated by Stanislas Rolland over 18 years ago
What do you get on the javascript console of Firefox when using version 1.1.6 of htmlArea RTE?
Updated by bad conker over 18 years ago · Edited
i get :
Error: missing } after property list
Source file : http://example.com/typo3temp/rtehtmlarea_htmlarea_eba1f5c22278132273b897fcb3b6f428.js
Line : 245, Column : 37
Source Code:
,image : http://example.com/"""
Updated by bad conker over 18 years ago
I found the problem, there was errors in tsconfig.
Thanks and Sorry for the hassle.
Updated by Stanislas Rolland over 18 years ago
I would still be interested in avoiding this error. Please explain what error in tsconfig could cause this javascript error?
Updated by bad conker over 18 years ago
To my mind is a basic error : i have put some quotes in order to resolve the bug of links which aren't translated with RealUrl:
RTE.classesAnchor {
internalLink{
class = internal-link
type = page
image = ""
altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.php:internal_link_altText
titleText =""
}
}
I cleaned the quotes and it function now and the links are correctly translated (although I had the same TSConfig at the beginning )
RTE.classesAnchor {
internalLink{
class = internal-link
type = page
image =
altText = LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.php:internal_link_altText
titleText =
}
}
Updated by Stanislas Rolland over 18 years ago
This is now corrected so that such error does not produce a javacript error.
Fixed in TYPO3core CVS, branch TYPO3_4-0.
Updated by bad conker 6 months ago · Edited
- Description updated (diff)
- Target version deleted (
0) - TYPO3 Version set to 3.8