[FEATURE] RTE: Use HTML5-compliant custom attribute for click-enlarge
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / static / clickenlarge / setup.txt
1 #******************************************************
2 # Including library for processing of custom tag "clickenlarge"
3 #******************************************************
4 includeLibs.tx_rtehtmlarea_pi3 = EXT:rtehtmlarea/pi3/class.tx_rtehtmlarea_pi3.php
5
6 lib.parseFunc_RTE {
7 tags.img = TEXT
8 tags.img {
9 current = 1
10 postUserFunc = tx_rtehtmlarea_pi3->render_clickenlarge
11 postUserFunc.imageLinkWrap < tt_content.image.20.1.imageLinkWrap
12 postUserFunc.imageLinkWrap {
13 JSwindow.altUrl >
14 enable >
15 enable = 1
16 typolink >
17 }
18 }
19 nonTypoTagStdWrap.HTMLparser.tags.img.fixAttrib {
20 datahtmlareaclickenlarge.unset = 1
21 ## Backward compatibility
22 clickenlarge.unset = 1
23 clickenlargesrc.unset = 1
24 }
25 }