When attempting to add 'display:inline-block' to some elements, I found that it was being entirely stripped out even though the display property was enabled in the filter. I did not find it in wysiwyg_filter_get_style_property_groups(), so I've added it. Thanks in advance.

Comments

vinmassaro’s picture

Status: Active » Needs review
FileSize
1.11 KB
golddragon007’s picture

Issue summary: View changes
Status: Needs review » Needs work

Yes, this patch allow inline-block, however, I think this is not the right way, good solution. I don't know what want to do this: '(?:inline-)?table' (I think this allow only inline-table and table), but I'm nearly sure all inline-* are filtered out. So more likely you need to create an expression like this:
table-(?:(?:row|header|group|column)-group|row|column|cell|caption)
And also I think we can allow all inline-* attributes...