Snippet: Use classes instead of inline styles for text alignment


WordPress’ TinyMCE (WYSIWYG) editor is adding inline stlyes to the markup when you change the text alignment. This behaviour is hard coded in wp-includes/class-wp-editor.php.

Can the inline styles be changed to classes instead?

, , , , bitstarr 7 months 0 Answers 99 views 0

Leave an answer