Issue Feature Closed

#25177Show linktype as css class in typolink

Christian Futterlieb 02/25/11, 14:48 updated 05/10/17, 21:45

Description

I would like to introduce a possibility to display the type of a typolink (page, file, mailto, url) as css class. This is very useful for web analytics (with i.e. piwik).

The patch introduces two ways to configure this option:

config.useLinkTypeAsCssClass (boolean/stdWrap) as global setting

and

typolink.useLinkTypeAsCssClass (boolean/stdWrap) as local setting (per typolink)

I know, the typolink method is very large already and considered to be a performance bottleneck. However it is a nice feature and appears to be very useful.

(issue imported from #M17766)

Reviews 1