[TYPO3-dam-devel] RFC #15566: When trying to edit a media link in the RTE, the external url tab is activated
Stanislas Rolland
typo3 at sjbr.ca
Sat Aug 28 03:56:47 CEST 2010
Hi DAM team,
This is an SVN patch request.
Type:
Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=15566
Branches:
trunk
Problem:
Using htmlArea 2.0 (TYPO3 4.4), after selecting a media link in the RTE,
the link dialogue opens on the external url tab instead of the media tab.
The problem arises because the "external" attribute is set on the a-tag
by the RTE transformation. The "external" attribute is set on the way
to the RTE because the dam media-to-a-tag transformation makes the href
an absolute url. An a-tag with already absolute url href when coming
from the database is assumed to be referencing an external url.
Solution:
Unset the "external" key in the browse_links current url array, if the
"tx_dam" attribute is set. This can be done when the url is parsed
through the dam interface to tx_rtehtmlarea_browse_links.
Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dam_rtehtmlarea_bugfix_15566.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-dam/attachments/20100827/6ee1d52c/attachment.asc>
More information about the TYPO3-team-dam
mailing list