Automatically Remove Undesired HTML Tags When Pasting Content In WordPress Visual Editor

When you run a multi-author blog then the main problem comes on your WordPress site is having different layout styles in different blog posts that makes your site look odd. This happens because of the authors who are unaware of removing HTML formatting after copy-pasting content they have written in your blog. Hence they publish undesired HTML tags in their blog posts and pages.

You can resolve this problem make safe pasting of content possible on your WordPress site by using a plugin known asSafe Paste. All you need is install and activate this plugin. It simply removes a lot of HTML tags from your blog’s posts and pages before inserting them to database. It prevents all your website users from pasting undesired HTML tags to post and page content.

Following are the HTML tags that STAYS and Any other HTML tag (or attributes) should be removed:

<p> <a> (allowed attributes: href, title). <img> (allowed attributes: src, alt, class). <h1> <h2> <h3> <h4> <h5> <h6> <blockquote> <ol> <ul> <li> <em> <strong> <del>

All these actions tales place when your authors are editing their post page content in any status (scheduled, draft, published etc). But it does this thing only on the content created or edited after the activation of this plugin.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.