Remove layout destroying HTML-Tags
by Stefano Picco on WordPress.org
Copy&Paste Cleaner. Cleanup the code in post and page editor after using copy&paste content from different sources and automatic saving.

Button in Classic Editor
Copy&Paste Cleaner. If you want to quickly fill a post or a page with content that already exists, copy&paste is often used and it can destroy the layout of a website!
The basic problem is that if you copy&paste content from different sources into the visual editor, any formatting is copied over. Specifically, whether from text documents, other websites, online-shops and cms or even from social media, something comes along everywhere.
As there are often DIVs in addition to harmless HTML elements, these can cause the rendering of your own website to be faulty or interrupted.
To avoid this, this plugin checks the existing formatting and attributes and removes all those that could lead to a problem and then saves it directly.
If you copy and paste into the text editor, there is usually no problem.
Tested with these page builders:
- Classic editor
- Gutenberg
- Divi 4.27
- Elementor 3.28
- WPBakery 8.3
Privacy GDPR
This plugin processes the analyzed and converted HTML only within the respective website. No content is stored or transferred to other servers or services for processing. Data protection in accordance with the GDPR is therefore guaranteed at all times.