Issue Bug Closed

#15692"Insert-Link"-Feature doesn't work

bad conker 02/21/06, 09:53 updated 06/03/24, 18:19

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 8

  1. Stanislas Rolland commented 02/22/06, 07:29

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

  2. bad conker commented 02/22/06, 09:43

    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/”“”

  3. bad conker commented 02/23/06, 15:05

    I found the problem, there was errors in tsconfig.

    Thanks and Sorry for the hassle.

  4. Stanislas Rolland commented 02/23/06, 16:13

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

  5. bad conker commented 02/23/06, 17:13

    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 =
    }
    }
  6. Stanislas Rolland commented 02/24/06, 05:22

    This is now corrected so that such error does not produce a javacript error.

    Fixed in TYPO3core CVS, branch TYPO3_4-0.

  7. bad conker changed description target version TYPO3 Version 3.8 06/03/24, 18:18

  8. bad conker changed description 06/03/24, 18:19