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 do I edit text color for shortcode?
- How to include Font Awesome icons into ‘menu_icon’ from register_post_type() function – wp admin?
- WordPress Console Application (ability to excecute a custom function via crontab only)
- Get orders of a specific customer woocommerce
- What am is missing? (API CORS)
- How to do database for download stats?
- Shortcode Attributes to Return different $_POST
- How to find out which plugin create captcha after login?
- Comment IP Plugin – Fixing onfocus=’this.select()’
- How do I make reusable content blocks for header and footer when using WordPress headless with another front-end?
- WordPress 5.4 – How to prevent to enter only certain values in custom field
- What form should the $query media query array have for an Elementor page builder function? [closed]
- Private Page View Counter
- WooCommerce: Force coupon for existing/registered customers [closed]
- Plugin Activation Error – The plugin generated 22 characters of unexpected output during activation
- Plugin Admin Menu Boiler Plate
- How can I add IP address to my post?
- REST API can’t get the response manually
- Super slow plugin page (lots of error 500)
- How to make a dynamic css class whose name changes every visit to confuse scraper
- serverSideRender does not render “preview” html inside Gutenberg block
- How use wp media upload liberary in react components?
- Add_rewrite_endpoint doesn’t work with post name permalink structure
- How to notify wordpress instalation about my plugin update?
- Is it possible not to load theme on a specific page in wordpress?
- How to change shortcode’s default theme?
- Integer in Array returns null
- Plugin onclick button activate other plugin
- composer not working on my plugin when i upload it to my website
- wc_get_template new template does not showing up
- How to select a paragraph other than the 1st to be the post’s excerpt?
- Moving Jetpack buttons to appear below the first H2 title on all project/post pages [closed]
- Send email to multiple addresses on Contact Form 7, but exclude personal details on all but one
- How can I support plugins in a custom theme?
- Display site language setting in source code
- Show icons or badges under title on product archives/category pages
- How to get theme’s info from wordpress.org/themes using api.wordpress.org?
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- WordPress Custom Pages that work with Plugins?
- posts from multiple post types in one slider
- How to automatically redirect to custom admin menu after plugin activation?
- How to use the CSS of the WordPress core in the development of my administration page?
- Redeclare function after plugin activation
- add_submenu_page returns null
- What is the WordPress approach to custom data?
- Conditional Shipping Options if Certain Products are in Cart WooCommerce
- Readable titles in mobile
- How to do the simplest possible frontend ajax call from a plugin?
- The XXX plugin has been deactivated due to an error: The plugin does not have a valid header
- How can I add “last updated” in plugin descripton?
- get_edit_post_link() not working on wp-cron
- get_option / wp_localize_script Not Working in OOP Plug In
- New bulk action to resend welcome emails
- Get site url and updates data, then use them
- How to have a gallery in which each image’s caption is a whole “post”?
- I receive taxonomy id
- How do we update a custom file upload field with the Advanced Custom Field plugin?
- WordPress won’t allow for updates to plugins or WordPress Core
- WordPress Stock Update Programatically
- Loading a plugin’s js file from functions.php
- Woocommerce Backend Search by Title and SKU
- I Setup Rate My Post Plugin On Site But Now Got Issues In Google Webmasters
- How to integrate together a website currently hosted WordPress.com and a custom web application currently hosted on Azure?
- How-to: This block can only be used once
- output html on post or page from custom plugin [closed]
- Custom Post Type – custom form in dashboard
- Problem with add_action
- To perform the requested action, WordPress needs to access your web > server
- Custom API plugin to execute 3rd party API to retrieve data
- Is there a way to convert shortcodes to html content?
- Proper way to handle admin-ajax calls