Hallo,
ich habe es jetzt folgendermaßen gelöst, leider immernoch ohne den benutzerdefinierten Button:
ext_tables.php:
$TCA['tt_content']['types'][$_EXTKEY.'_pi1']['showitem']='CType;;4; ... text;;;richtext[bold|italic|orderedlist|unorderedlist|link]:rte_transform[mode=ts_css], ...
ext_localconf.php:
t3lib_extMgm::addPageTSConfig('
RTE.classes {
tt_content_tx_trhkcm002_text_class1 {
name = test
value = color:black
}
}
RTE.config.tt_content.tx_trhkcm002_text {
classesParagraph = tt_content_tx_trhkcm002_text_class1
classesCharacter = tt_content_tx_trhkcm002_text_class1
proc.exitHTMLparser_db=1
proc.exitHTMLparser_db {
allowTags = b, strong, i, em, ol, li, ul, a, h1, h2, h3, h4, h5, h6, pre
tags.div.remap = P
}
}
');
Grüße
ToDO |