}
this will replace the above suggested code, which stopped working with the latest wp versions.
Unfortunately, this filter is not applied to the styles in the visual editor.