我需要一些指示如何将 TYPO3 7.6 中的 htmlarea_rte 中的 userElements 迁移到 TYPO3 8.7 中的 CKEditor。
或者改写我的问题:如何在 CKEditor 中添加自定义 html 链接?
这就是我的 userElements 的样子:
RTE.default {
contentCSS = EXT:mytheme/Resources/Public/Css/Rte.css
proc.allowTagsOutside := addToList(i,em)
proc.entryHTMLparser_db.tags.i >
proc.entryHTMLparser_db.tags.em >
showButtons := addToList(user)
proc.allowedClasses := addToList(envelope, phone, fax)
classesCharacter = envelope, phone, fax
userElements {
10 = Icons
10 {
1 = E-Mail
1.content (
<i class="envelope"></i>
)
2 = Telefon
2.content (
<i class="phone"></i>
)
3 = Fax
3.content (
<i class="fax"></i>
)
}
}
}