OblivionNW Posted December 12, 2016 Share Posted December 12, 2016 Can anyone please explain why does the posts table inserts inline styles straight into the table? It makes it very difficult to use the rest api to fetch posts, as well as display them on my external site. I have to go through and manually filter out the inline styles with regex. Link to comment Share on other sites More sharing options...
bfarber Posted December 13, 2016 Share Posted December 13, 2016 When you format content in a WYSIWYG editor, it typically applies inline styles. This is normal and expected. If you want raw text content without styles, you'll need to use something like strip_tags() in PHP after fetching the post. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.