RTE的默認設置僅允許某些類型的HTML元素。我還想允許TYPO3:允許HTML用於富文本編輯器
form
button
input
我怎樣才能做到這一點?我搜索了一下,發現這樣的:
## RTE configuration
RTE.default {
proc {
# tags allowed
allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, re, blockquote, strong, em, b, i, u, sub, sup, strike, a, img, nobr, hr, tt, q, cite, abbr, acronym, center
# html parser configuration
HTMLparser_rte {
# tags allowed
allowTags < RTE.default.proc.allowTags
}
}
}
但我不知道這是否是正確的解決方案......
我想這並沒有工作... – testing