Project

General

Profile

Actions

Bug #15692

closed

"Insert-Link"-Feature doesn't work

Added by Aurelien Joahny about 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2006-02-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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://siberien.diacom.fr/typo3temp/rtehtmlarea_htmlarea_eba1f5c22278132273b897fcb3b6f428.js
Ligne : 245, Colonne : 37
Code Source :
,image : "http://siberien.diacom.fr/"""

with htmlarea 1.1.6

and
Erreur : missing } after property list
Fichier Source : http://siberien.diacom.fr/typo3conf/ext/rtehtmlarea/htmlarea/htmlarea.js
Ligne : 191, Colonne : 37
Code Source :
,image : "http://siberien.diacom.fr/"""

with htmlarea 1.0.0

(issue imported from #M2656)

Actions #1

Updated by Stanislas Rolland about 18 years ago

What do you get on the javascript console of Firefox when using version 1.1.6 of htmlArea RTE?

Actions #2

Updated by Aurelien Joahny about 18 years ago

i get :

Error: missing } after property list
Source file : http://siberien.diacom.fr/typo3temp/rtehtmlarea_htmlarea_eba1f5c22278132273b897fcb3b6f428.js
Line : 245, Column : 37
Source Code:
,image : "http://siberien.diacom.fr/"""

http://siberien.diacom.fr is my domain name

Actions #3

Updated by Aurelien Joahny about 18 years ago

I found the problem, there was errors in tsconfig.

Thanks and Sorry for the hassle.

Actions #4

Updated by Stanislas Rolland about 18 years ago

I would still be interested in avoiding this error. Please explain what error in tsconfig could cause this javascript error?

Actions #5

Updated by Aurelien Joahny about 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 =
}
}
Actions #6

Updated by Stanislas Rolland about 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.

Actions

Also available in: Atom PDF