Merge pull request #2998 from torleif/patch-4

Fix: WYSIWYG now returns valid HTML in tables
This commit is contained in:
Sean Harvey 2014-07-08 19:56:16 +12:00
commit 50214abf7f

View File

@ -14,7 +14,7 @@ HtmlEditorConfig::get('cms')->setOptions(array(
. "|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],-cite[dir|class|id|title]," . "-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[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],"
. "#td[id|dir|class|colspan|rowspan|width|height|align|valign|scope|style]," . "#td[id|dir|class|colspan|rowspan|width|height|align|valign|scope|style],"