Title: Paste as plain text
Last modified: August 24, 2016

---

# Paste as plain text

 *  [sinusepsilon](https://wordpress.org/support/users/sinusepsilon/)
 * (@sinusepsilon)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paste-as-plain-text-2/)
 * Hello,
    An average user never care about the “past as plain text” option, so 
   I want to force this behavior on the frontend. There are some plugins and functions:
 * function tinymce_paste_as_text( $init ) {
    $init[‘paste_as_text’] = true; return
   $init; } add_filter(‘tiny_mce_before_init’, ‘tinymce_paste_as_text’);
 * and this works for the backend, but the wpuf frontend with tiny rich text editor
   pastes all the styles.
 * Any help, maybe I need to use an other filter, or write something to the frontend-
   form.js
 * ????
 * Thanks
 * [https://wordpress.org/plugins/wp-user-frontend/](https://wordpress.org/plugins/wp-user-frontend/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [weDevs](https://wordpress.org/support/users/wedevs/)
 * (@wedevs)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paste-as-plain-text-2/#post-5967013)
 * Hello,
 * Please let me know the name of the file you have paste above code. I want to 
   first check myself. Then I will go for frontend.
 * Thank you.
 *  Thread Starter [sinusepsilon](https://wordpress.org/support/users/sinusepsilon/)
 * (@sinusepsilon)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paste-as-plain-text-2/#post-5967015)
 * I simply droped the code into the myfuncs.php which is required in functions.
   php and that works.
 * And there are two plugins:
    [https://wordpress.org/plugins/tinymce-paste-in-plain-text-by-default/](https://wordpress.org/plugins/tinymce-paste-in-plain-text-by-default/)
   [https://wordpress.org/plugins/paste-as-plain-text/](https://wordpress.org/plugins/paste-as-plain-text/)
 * They work on the backend as well.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Paste as plain text’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=3578622)
 * [User Frontend: AI Powered Frontend Post Submission, User Directory, User Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

## Tags

 * [plain text](https://wordpress.org/support/topic-tag/plain-text/)

 * 2 replies
 * 2 participants
 * Last reply from: [sinusepsilon](https://wordpress.org/support/users/sinusepsilon/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/paste-as-plain-text-2/#post-5967015)
 * Status: not resolved