[FEATURE] Use File Abstraction Layer in RTE
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / extensions / TYPO3Image / ext_localconf.php
1 <?php
2 if (!defined ('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 // Extending TypoScript from static template uid=43 to set up parsing of custom file abstraction attributes on img tag
7 t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
8 #******************************************************
9 # Including library for processing of custom file abstraction attributes on img tag
10 #******************************************************
11 ##includeLibs.tx_rtehtmlarea_renderimgtag = EXT:rtehtmlarea/extensions/TYPO3Image/class.tx_rtehtmlarea_renderimgtag.php
12
13 lib.parseFunc_RTE {
14 ##tags.img = TEXT
15 ##tags.img {
16 ## current = 1
17 ## preUserFunc = tx_rtehtmlarea_renderimgtag->renderImgageAttributes
18 ##}
19 nonTypoTagStdWrap.HTMLparser.tags.img.fixAttrib {
20 data-htmlarea-file-uid.unset = 1
21 data-htmlarea-file-table.unset = 1
22 }
23 }
24 ', 43);
25
26 ?>