Title: Bug in text editor
Last modified: August 30, 2016

---

# Bug in text editor

 *  [Sinkadus](https://wordpress.org/support/users/niwin/)
 * (@niwin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/bug-in-text-editor-2/)
 * Hi
 * I like your plugin very much, and just noticed a bug (?):
 * After I add the simple text editor, if I try to change from Text to Visual mode–
   the content disappears and I cant change back to text-mode.
 * [https://infinit.io/_/ReUXT5L](https://infinit.io/_/ReUXT5L) (a complete link
   prevents me from comment)
 * I’v installed this on my dev-site with no other plugins and the standard wp-theme
   installed. So this is no plugin/theme-conflict.
 * Can you have a look at this?
 * Thanks!
 * [https://wordpress.org/plugins/wr-pagebuilder/](https://wordpress.org/plugins/wr-pagebuilder/)

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

 *  [Elektra](https://wordpress.org/support/users/mr_ian/)
 * (@mr_ian)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/bug-in-text-editor-2/#post-6511476)
 * I have the same problem but still no response from Woo Rockets
 *  [veggito](https://wordpress.org/support/users/veggito/)
 * (@veggito)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/bug-in-text-editor-2/#post-6511592)
 * Guys I was able to fix this issue. Here are the steps :
 * Open the following file inside the plugin /shortcodes/text/assets/js/text.js
 * Add the following code after
 *     ```
       $(document).ready(function () {
               $.WR_Text();
       ```
   
 * NEW CODE
 *     ```
       /***TEMP FIX VERSION 4.3 by Vik***/
              jQuery('body').on('click','#param-text-html',function(){  return false; });
              jQuery('body').on('click','#param-text-tmce',function(){  return false; });
   
              jQuery('body').on('click','#param-text-html',function()
              {
                       tinymce.remove(tinymce.get('param-text'));
                       jQuery(this).closest('#wp-param-text-wrap').addClass('html-active');
                       jQuery(this).closest('#wp-param-text-wrap').removeClass('tmce-active');
               });
              jQuery('body').on('click','#param-text-tmce',function(){   
   
               init1 = tinyMCEPreInit.mceInit['param-text'];
               tinymce.init( init1 );
   
               jQuery(this).closest('#wp-param-text-wrap').removeClass('html-active');
                       jQuery(this).closest('#wp-param-text-wrap').addClass('tmce-active');
               });
   
            /** END TEMP FIX **/
       ```
   

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

The topic ‘Bug in text editor’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wr-pagebuilder_4b6759.svg)
 * [Page Builder by WooRockets.com](https://wordpress.org/plugins/wr-pagebuilder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wr-pagebuilder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wr-pagebuilder/)
 * [Active Topics](https://wordpress.org/support/plugin/wr-pagebuilder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wr-pagebuilder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wr-pagebuilder/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [veggito](https://wordpress.org/support/users/veggito/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/bug-in-text-editor-2/#post-6511592)
 * Status: not resolved