【发布时间】:2011-12-25 12:05:37
【问题描述】:
RTE 的默认设置只允许某些类型的 HTML 元素。我也想允许
formbuttoninput
我该怎么做?我搜索了一下,发现了这个:
## 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
}
}
}
但我不确定这是否是正确的解决方案...
【问题讨论】:
-
这个我试过了,没用...
标签: html typo3 rte rich-text-editor