Title: Saved tabs problem
Last modified: August 13, 2017

---

# Saved tabs problem

 *  Resolved [usernameisinuse](https://wordpress.org/support/users/usernameisinuse/)
 * (@usernameisinuse)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/)
 * Hi! When I added a saved tab it appears epty, no content. To make it work, I 
   should add it one more time, now it will have content. Then I should delete both
   new tabs (because I can’t just delete empty one, another will become emty too).
   And I could finaly add needed sabed tab =)
 * So, it works, but I think it should work little more simplear =)
 * BTW, this errors I’ve got on edit product tabs page:
 * Uncaught TypeError: Cannot read property ‘parse’ of undefined
    at o.setContent(
   tinymce.min.js?ver=4603-20170530:13) at yikes_woo_set_content_for_wysiwyg (repeatable-
   custom-tabs-shared.min.js?ver=b0ff49:1) at yikes_woo_get_wp_editor_foureight (
   repeatable-custom-tabs-shared.min.js?ver=b0ff49:1) at yikes_woo_add_another_tab(
   repeatable-custom-tabs.min.js?ver=all:1) at yikes_woo_apply_resuable_tab (repeatable-
   custom-tabs.min.js?ver=all:1) at Object.success (repeatable-custom-tabs.min.js?
   ver=all:1) at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,
   jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-
   slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker,jquery-color,jquery-ui-
   sortable,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,u&load[]
   =nderscore,backbone,wp-util,wp-backbone,media-models,plupload,jquery-ui-tabs,
   jquery-ui-resizable,jquery-ui-button,jquery-ui-dialo&load[]=g,jquery-ui-droppable&
   ver=4.8.1:2) at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]
   =jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,
   jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-
   picker,jquery-color,jquery-ui-sortable,jquery-ui-position,jquery-ui-menu,wp-a11y,
   jquery-ui-autocomplete,u&load[]=nderscore,backbone,wp-util,wp-backbone,media-
   models,plupload,jquery-ui-tabs,jquery-ui-resizable,jquery-ui-button,jquery-ui-
   dialo&load[]=g,jquery-ui-droppable&ver=4.8.1:2) at y (load-scripts.php?c=0&load[]
   =jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,
   jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-
   picker,jquery-color,jquery-ui-sortable,jquery-ui-position,jquery-ui-menu,wp-a11y,
   jquery-ui-autocomplete,u&load[]=nderscore,backbone,wp-util,wp-backbone,media-
   models,plupload,jquery-ui-tabs,jquery-ui-resizable,jquery-ui-button,jquery-ui-
   dialo&load[]=g,jquery-ui-droppable&ver=4.8.1:4) at XMLHttpRequest.c (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,
   jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,
   iris,wp-color-picker,jquery-color,jquery-ui-sortable,jquery-ui-position,jquery-
   ui-menu,wp-a11y,jquery-ui-autocomplete,u&load[]=nderscore,backbone,wp-util,wp-
   backbone,media-models,plupload,jquery-ui-tabs,jquery-ui-resizable,jquery-ui-button,
   jquery-ui-dialo&load[]=g,jquery-ui-droppable&ver=4.8.1:4)

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

 *  Plugin Contributor [yikesitskevin](https://wordpress.org/support/users/yikesitskevin/)
 * (@yikesitskevin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/#post-9408198)
 * Hi [@usernameisinuse](https://wordpress.org/support/users/usernameisinuse/),
 * It’s definitely supposed to be simpler – sorry; you’re workaround is quite impressive
   though.
 * The error you’ve pasted is coming from JavaScript and is breaking the whole tabs
   scripts. Is this error occurring when you try to add the saved tab? Please let
   me know when the error arises and if there are any other errors.
 * Also, the error is related to the editor and this changed with WordPress 4.8.
   Are you running on the latest version of WordPress?
 * Let me know,
    Kevin.
 *  Thread Starter [usernameisinuse](https://wordpress.org/support/users/usernameisinuse/)
 * (@usernameisinuse)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/#post-9408299)
 * I use WP 4.8.1
    Error in cosole appear when: 1. Open product edit 2. Choose custom
   tabs tab 3. Press Add a Saved Tab 4. Choose saved tab -> error in console.
 *  Plugin Contributor [yikesitskevin](https://wordpress.org/support/users/yikesitskevin/)
 * (@yikesitskevin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/#post-9408398)
 * Okay so the error is with adding the content into the editor, but it works when
   you try to add content to the editor a second time?
 * By any chance, is your user profile set to `Disable the visual editor when writing`?
   We’ve had some bugs in the past with text mode vs. visual mode and they typically
   create the same error you’re seeing. I’m wondering if this is what’s going on.
 *  Thread Starter [usernameisinuse](https://wordpress.org/support/users/usernameisinuse/)
 * (@usernameisinuse)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/#post-9408410)
 * Nope, visual editor is on.
 *  Plugin Contributor [yikesitskevin](https://wordpress.org/support/users/yikesitskevin/)
 * (@yikesitskevin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/#post-9408464)
 * Hmm. I still think it’s related to the editor not being initialized in some way.
 * Before adding any tabs, try clicking between the “text” tab and “visual” tab 
   on the Product’s main description editor. It sounds a bit wild, I know, but it
   will force the editor to initialize. After clicking between the two, try adding
   a new tab.
 * Also, can you add custom tabs? Do you experience any errors with custom tabs?
   What happens if you add a custom tab and then add a saved tab?
 * I’m trying to narrow down the issue as I can’t re-create it on my environment.
   Sorry that I’m asking you to try all these different scenarios.
 * Kevin.
 *  Thread Starter [usernameisinuse](https://wordpress.org/support/users/usernameisinuse/)
 * (@usernameisinuse)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/#post-9408528)
 * Error still exist, no matter how many times I svitch editor.
 * Custom tabs work great.
 *  Plugin Contributor [yikesitskevin](https://wordpress.org/support/users/yikesitskevin/)
 * (@yikesitskevin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/#post-9408671)
 * And if you add custom tabs can you then add saved tabs without an error?
 * I am going to review the code to see if there are any differences between the
   way custom tabs and saved tabs work.
 *  Thread Starter [usernameisinuse](https://wordpress.org/support/users/usernameisinuse/)
 * (@usernameisinuse)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/#post-9431397)
 * Problem go bigger. Now, when I saved new custom tab, my old saved tabes on frontend
   disappeared. Lol =) Go to search for a new plugin.

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

The topic ‘Saved tabs problem’ is closed to new replies.

 * ![](https://ps.w.org/yikes-inc-easy-custom-woocommerce-product-tabs/assets/icon-
   256x256.png?rev=1558461)
 * [Custom Product Tabs for WooCommerce](https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/)
 * [Active Topics](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [usernameisinuse](https://wordpress.org/support/users/usernameisinuse/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/saved-tabs-problem/#post-9431397)
 * Status: resolved