I’m never quite sure if I should add to a post that has the same problem, but is obviously unanswered for a long while, or post a new topic. But… our forum also has a very similar issue so it seems sensible to add it here.
For us, it seems to be specific to text-align (left, right or centre) and for “non-admin” logged in users.
It displays the html code as is, rather than using it to display the correct text alignment. All other html options in the visual editor we’ve tested so far seem to work – it’s just the text alignment that doesn’t. And only for non-admin users – the html works as it should if an admin user posts.
<p style=”text-align: right;”>right align</p>
Hoping for a solution? Am on current versions of bbpress, wordpress and bbp style pack and php version 7.3