Merge pull request #1878 from wilr/open5091

FIX: allow cite elements in TinyMCE
This commit is contained in:
Ingo Schommer 2013-05-12 14:11:22 -07:00
commit e135421ac8

View File

@ -14,7 +14,7 @@ HtmlEditorConfig::get('cms')->setOptions(array(
'valid_elements' => "@[id|class|style|title],a[id|rel|rev|dir|tabindex|accesskey|type|name|href|target|title" 'valid_elements' => "@[id|class|style|title],a[id|rel|rev|dir|tabindex|accesskey|type|name|href|target|title"
. "|class],-strong/-b[class],-em/-i[class],-strike[class],-u[class],#p[id|dir|class|align|style],-ol[class]," . "|class],-strong/-b[class],-em/-i[class],-strike[class],-u[class],#p[id|dir|class|align|style],-ol[class],"
. "-ul[class],-li[class],br,img[id|dir|longdesc|usemap|class|src|border|alt=|title|width|height|align|data*]," . "-ul[class],-li[class],br,img[id|dir|longdesc|usemap|class|src|border|alt=|title|width|height|align|data*],"
. "-sub[class],-sup[class],-blockquote[dir|class]," . "-sub[class],-sup[class],-blockquote[dir|class],-cite[dir|class|id|title],"
. "-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|dir|id|style]," . "-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|dir|id|style],"
. "-tr[id|dir|class|rowspan|width|height|align|valign|bgcolor|background|bordercolor|style]," . "-tr[id|dir|class|rowspan|width|height|align|valign|bgcolor|background|bordercolor|style],"
. "tbody[id|class|style],thead[id|class|style],tfoot[id|class|style]," . "tbody[id|class|style],thead[id|class|style],tfoot[id|class|style],"