Title: Preventing Pasting HTML
Last modified: March 19, 2021

---

# Preventing Pasting HTML

 *  Resolved [bward](https://wordpress.org/support/users/bward/)
 * (@bward)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/preventing-pasting-html/)
 * I know if you turn off the Rich Text Editor code will not be pasted into the 
   editor. However, then we would need to enable quick tags which are less than 
   ideal.
 * Is there a way to use the rich text editor, but prevent people from pasting in
   HTML? Users do not understand the formatting and paste in all sorts of coding
   that messes things up.
 * Thanks so much.

Viewing 1 replies (of 1 total)

 *  Plugin Support [gVectors Support](https://wordpress.org/support/users/gvectorssupport/)
 * (@gvectorssupport)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/preventing-pasting-html/#post-14210389)
 * [@bward](https://wordpress.org/support/users/bward/),
 * We’re really sorry, but there is no option to prevent pasting HTML in Rich editor.
   You should either choose the textarea or do the customizations yourself using
   the [preprocess_comment](https://developer.wordpress.org/reference/hooks/preprocess_comment/)
   hook.

Viewing 1 replies (of 1 total)

The topic ‘Preventing Pasting HTML’ is closed to new replies.

 * ![](https://ps.w.org/wpdiscuz/assets/icon-256x256.png?rev=1076265)
 * [Comments - wpDiscuz](https://wordpress.org/plugins/wpdiscuz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdiscuz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdiscuz/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdiscuz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdiscuz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdiscuz/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [gVectors Support](https://wordpress.org/support/users/gvectorssupport/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/preventing-pasting-html/#post-14210389)
 * Status: resolved