You could run a regex. Since they’re continuing this behavior, you will probably want to create a custom plugin and set up a cron job to trigger it periodically so it will continue stripping all inline styles.
Your plugin will need to query all posts. From there, in a loop that checks each post’s content, use
preg_replace('style="*.*?"', '', $content);
which will replace each inline style with nothing (”), essentially deleting it.
Related Posts:
- How to disable Gutenberg editor?
- Is there a plugin to show the code tag button on the visual editor?
- Drag-and-drop “Panels”-style visual layout editor?
- Disable text tab on WordPress text-editor
- Creating button next to “add media” that allows you to choose a single post
- How to add custom style to Gutenberg?
- Can I share predefined fonts from theme_support with a gutenberg component?
- Getting selected (highlighted) html from the Visual Editor on Edit Post page?
- How to load plugin after page is loaded – pagespeed issues
- I have no idea “How change font for elements in widget?”
- Uncode theme content block header ignoring saved changes/not updating?
- Why is WPBakery Page Builder backend editor not clickable? [closed]
- Visual Composer shortcode for child theme dir
- How to add wp visual editor in a custom widget?
- Getting Theme element into plugins page editor in wp admin
- Add custom text color WordPress 3.9 TinyMCE 4 Visual editor
- I changed font of wordpress dashboard but it is slow!
- How do I add multiple buttons to Tiny MCE in a single plugin?
- Problem enabling the user to edit Markdown and displaying the HTML output (WMD Editor plugin for WordPress)
- Font Awesome icon are not loading in wordpress 5.5.1
- How to allow code like PHP, SQL, HTML to WPBakery Visual Composer?
- Load font awesome by content in css
- How to get short description under heading – Visual Composer [closed]
- can’t use span or icon tags on when editing visual composer element
- Extending the “Add Media”-Dialog … how do I finally insert something to the Post?
- Embedding code snippets in posts with indentation
- Is there a visual editor specifically for page snippets/sections?
- Visual Composer Data Source?
- Adding fontAwesome to Primary Menu returns after saving the menu
- How to include Font Awesome icons into ‘menu_icon’ from register_post_type() function – wp admin?
- Add Google Analytics manually, or use a plug-in?
- Custom pages with plugin
- Do plugin files have to follow a specific convention to be “picked up” by WordPress?
- Can’t set proper WooCommerce language translation [closed]
- Get selected values from checkboxes and radio buttons via Gravity Forms gform_after_submission hook [closed]
- how does wp.media javascript library work?
- Updating WooCommerce variable product stock issue
- Intercepting a add_action
- WordPress pods io – Rest API for fetching fields information for custom post type
- Include files for a plugin not including
- Missing argument 2 for wpdb::prepare() Issue
- Can Not Redirect from Plugin-Registered Admin Page
- Why does my hand-written plugin installer fail to find `request_filesystem_credentials`?
- How to make a WP admin button/menu similar to Jetpack Notifications?
- How to upload thousands of images?
- Why is wp-cron only executing on page visit?
- WordPress Automatic Plugin Update Renames Plugin Directory
- When to call add_filter
- Date calculations from 2 custom fields
- Easiest way to add dropdown to a page
- WPBakery JS composer unused css [closed]
- DROP TABLE with uninstall hook not working
- Setup page on first login on multisite
- Know which plugin is calling JS in wp_head()?
- How do I disable an update for a specific plugin?
- WooCommerce Force Display of Base Country Order Addresses
- Security and Must Use Plugins
- Can deactivating a plugin sometimes “reset” settings within that plugin?
- remove all submenus from plugin
- Specific way to allow WordPress users to view their current password? And edit it?
- Is there a function to list all uploaded images? How can I add one?
- Plugin Admin Menu Boiler Plate
- How use wp media upload liberary in react components?
- WordPress permissions error with admin account
- site url is not working after migrtaion in worpress, all links are broken
- How to render a template file using shortcode inside a plugin
- How to add slides (images) to bxslider?
- Delete data from custom table when deleting a post
- Pdf visualiser embedded into wordpress website
- How to deactivate my plugin upon deactivation of NextGen
- WP Insert Post If user refreshes override new post
- Problems with jQuery and is_admin()
- Simple sildeshow/image-upload plugin?
- How to hide particular plain text with link from different subscribers
- Manualy Updated WordPress Error
- Can I add Short Code Of A Plugin In The Code Editor of WordPress?
- My wordpress blog posts page is broken
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Cannot save a custom meta field in quick edit
- Simulate Update User button click
- Delete user meta based on key value that is an array
- Modify Plugin PHP Class in Child Theme – Correct Method
- Hook on widget context plugin to add custom context for widget
- Customize a widget position
- Can’t get paramaters from url page of content
- Admin Logged In Notify Globaly
- Editing Global Variables from Inside Functions
- building custom simple shopping cart using wordpress plugin
- overwrite a plugin function in functions.php
- How to list the categories by custom taxonomy created?
- Allow users to enter and edit data in one-to-many configuration
- From a legal perspective, is it okay to customize a plugin’s code?
- How to make is_admin() return false when I need it to?
- Facebook comment into my blog
- Distribute post content through several divs [closed]
- How can I utilize the same “show more” functionality that I see in superuser on my own WordPress site?
- Footer option is missing in Customiser
- Is Nonce Verification (CSRF) required for WordPress Custom Bulk User Actions?
- List Hidden Plugins
- Plugin for better Backend Search? [closed]