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
}
}
}
しかし、これが正しい解決策であるかどうかはわかりません...