[TYPO3-dev] Make RTE <link> transformation on custom field
Rares Luca
rluca at arxia.com
Fri Jan 13 21:14:47 CET 2012
Pe 13.01.2012 17:09, Victor Livakovsky a scris:
> Hi, list.
>
> I've made a custom extension, where I use a textarea with RTE. It works
> okay, except one thing: when editor puts a link in that field via RTE
> wizard, it saved as <link> tag, but doesn't transform to <a> tag on output.
> TCA of this field is this one:
> 'description' => array (
> 'exclude' => 0,
> 'label' => 'LLL:EXT:lv_song/locallang_db.xml:tx_lvsong_song.description',
> 'config' => array (
> 'type' => 'text',
> 'cols' => '30',
> 'rows' => '5',
> )
> ),
> Types section is this one:
> 'types' => array (
> '0' => array('showitem' => '<...cut...>,
> description;;;richtext[]:rte_transform[mode=ts_css|imgpath=uploads/tx_lvsong/rte/]')
>
> ),
>
> Tried to add this to page TS config:
> RTE.config.tx_ttsong_song.description.proc < RTE.default.proc
> but it was helpless
>
> What did I miss here?
>
> Thank you in advance.
Are you using the pi_RTEcssText($string) in your code?
More information about the TYPO3-dev
mailing list