Bug #15132
closedsimulateStaticDocuments = 1 and Typo3Browser for Link insertion
0%
Description
when i insert a link via rte to another page in the same tree, the resulting accessibility enhanced link in FE has an href="?id=123" instead of a nice alias like href="contact.html".
so i searched the .js files of htmlarea how these links are generated.
i've found the js function
function link_typo3Page(id,anchor)
{
....
}
which triggers
editor.renderPopup_addLink(theLink,cur_target,cur_class,cur_title);
and then htmlarea creates the link always with ?id=123 instead of /contact.html
ps: stanislas your htmlarea integration ROCKS.
(issue imported from #M1696)
Updated by Stanislas Rolland about 19 years ago
I would think that if you erase the title attribute, the link will be correctly rendered.
Please confirm.
This is because typolink does not support the the title attribute.
You may want to vote for this Gremlin:
http://typo3.org/development/projects/zap-the-gremlins/gremlin-overview/?tx_gremlincollector_pi1%5BshowUid%5D=1660&cHash=babf44d58a
Updated by svobi about 19 years ago
confirmed, thank you, will vote.
after i inserted a link via linkbrowser and deleted the title and class attributes, the link in RTE looks like:
<a href="http://www2.gosu.ch/?id=36">
in FE:
<a href="/kunst_lebenslauf_gosu.html">
this is the desired behavior, but without nice title=
but wait, is the class= attribute the next problem ? or is this supported with typolink ?
Updated by Stanislas Rolland about 19 years ago
No, class is not a problem. Class and target attributes are ok. See: http://typo3.org/documentation/document-library/doc_core_tsref/typolink/