Project

General

Profile

Actions

Bug #23875

closed

htmlArea RTE: The path of classesAnchor images are modified when saving

Added by Christian Oettinger over 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-10-29
Due date:
% Done:

0%

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

Description

If adding a e.g. Download-link in RTE the image specified in classesAnchor.downlaod.file is displayed just as it should. But when saving, the path of the image ist changed: "../" is added, so the image is broken.

Here's the PageTSConfig (no surprises, but anyway):

RTE.classesAnchor {
...
download {
class = download
type = file
image = fileadmin/gestaltung/rte-icons/icon_download.gif
...
(issue imported from #M16175)


Files

Actions #1

Updated by Stanislas Rolland over 13 years ago

The image is inserted with an url relative to TYPO3_mainDir, rather than with an absolute url. Therefore, on saving, the RTE transformation creates a magic image for the icon.

The attached patch makes the url absolute when the icon is inserted in the RTE, so that the icon always refers to the original image specified in Page TSConfig.

Please confirm that the patch fixes this issue.

Actions #2

Updated by Christian Oettinger over 13 years ago

Seems to be solved. Thanks a lot!

Actions #3

Updated by Stanislas Rolland over 13 years ago

Thanks for testing.

Committed to SVN TYPO3core trunk (revision 9248) and branch TYPO3_4-4 (revision 9249).

Actions #4

Updated by Stanislas Rolland over 13 years ago

Many thanks for offering this work!

Actions #5

Updated by Ernesto Baschny almost 11 years ago

  • Target version deleted (1088)
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF