Plugin Author
Franky
(@liedekef)
wordpress allows span, but not style as an attribute in html fields.
If you want to allow this, EME has a setting in the “Other” section called “Extra html tags” where you can allow tags+attributes (in this case: “span,style”).
But apparently this doesn’t work as expected, so I’ll take a look at that this evening.
Plugin Author
Franky
(@liedekef)
Well, it works as expected but wordpress filters certain style attributes it deems unsafe. See https://wordpress.stackexchange.com/questions/173526/why-is-wp-kses-not-keeping-style-attributes-as-expected?rq=1 for an explanation and workaround (using a wordpress filter).
Thread Starter
pvwij
(@pvwij)
With your’e explanation I have solved the problem, thanks a lot!!