我得到了最新的 Typo3 LTS 版本。现在我需要一些自定义文本样式。
我在 Google 上找不到任何适用于 7.6.2 版的有用信息
我尝试的最后一个配置如下:
RTE.default {
contentCSS = fileadmin/templates/css/typo3-RTE.css
}
RTE.default.proc.allowedClasses := addToList(tel, fax)
RTE.default.buttons {
textstyle.tags.span.allowedClasses := addToList(tel,fax)
}
RTE.default.proc.allowedClasses := removeFromList(csc-frame-frame1, csc-frame-frame2, important, name-of-person, detail)
RTE.classes := removeFromList(csc-frame-frame1, csc-frame-frame2, important, name-of-person, detail)
RTE.classes.tel {
name = Telefonnummer
class = tel
}
RTE.classes.fax {
name = Fax
class = fax
}
我想要文本样式“Telefonnummer”和“Fax”。正如您已经猜到的那样,它不起作用。
除此之外,我发现的所有代码都不起作用。有没有人有最新的 LTS 版本的 Typo3 和 RTE 的解决方案?