Title: Javascript Error
Last modified: January 15, 2025

---

# Javascript Error

 *  [fishmi](https://wordpress.org/support/users/fishmi/)
 * (@fishmi)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/javascript-error-237/)
 * Hello dear developers,
 * even after the last update the plugin generates a Javascripr error, see Chrome
   console.
   It would be nice if this could be fixed.
 * Or it would be even better if the Toogle button would be displayed again. Because
   the plugin is actually – contrary to my last statement – only useful if you can
   switch very quickly to a WYSIWYG mode.
 * Martin
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-237%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/javascript-error-237/#post-18246620)
 * Hey [@fishmi](https://wordpress.org/support/users/fishmi/), I’ll be looking into
   this soon. It sure is a tricky one!
 * Just to make sure, what’s the exact error message you see on your end in the 
   console?
 *  Thread Starter [fishmi](https://wordpress.org/support/users/fishmi/)
 * (@fishmi)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/javascript-error-237/#post-18246926)
 * If you open the URl I provided ( [https://www.apotheker-ohne-grenzen.de/](https://www.apotheker-ohne-grenzen.de/)),
   you should see this error in the console:
 * bordered-blocks.js?ver=1.1.5:121 Uncaught ReferenceError: addToggle is not defined
   
   at bordered-blocks.js?ver=1.1.5:121:13(anonymous) @ bordered-blocks.js?ver=1.1.5:
   121setInterval(anonymous) @ bordered-blocks.js?ver=1.1.5:119e @ jquery.min.js?
   ver=3.7.1:2t @ jquery.min.js?ver=3.7.1:2setTimeout(anonymous) @ jquery.min.js?
   ver=3.7.1:2c @ jquery.min.js?ver=3.7.1:2fireWith @ jquery.min.js?ver=3.7.1:2fire
   @ jquery.min.js?ver=3.7.1:2c @ jquery.min.js?ver=3.7.1:2fireWith @ jquery.min.
   js?ver=3.7.1:2ready @ jquery.min.js?ver=3.7.1:2P @ jquery.min.js?ver=3.7.1:2
 *  Plugin Author [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/javascript-error-237/#post-18248329)
 * Hey [@fishmi](https://wordpress.org/support/users/fishmi/) – the JS error about
   the `addToggle` function was indeed something I missed — I’ve updated it now 
   and if you have version 1.1.6, you shouldn’t be seeing it anymore. Let me know
   if that’s good now!
 * As for adding a toggle button back — since the editor is now within an iFrame,
   it’s made it very difficult to have this functionality again. I’ll be looking
   into it, but it’s definitely not an easy one so it might take a while.
    -  This reply was modified 1 year, 4 months ago by [Senff - a11n](https://wordpress.org/support/users/senff/).
 *  Thread Starter [fishmi](https://wordpress.org/support/users/fishmi/)
 * (@fishmi)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/javascript-error-237/#post-18253429)
 * Thank you for the update, the Javascript error has disappeared.
   If the toggle
   button still works, that would be great.

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

The topic ‘Javascript Error’ is closed to new replies.

 * ![](https://ps.w.org/bordered-blocks/assets/icon-256x256.png?rev=2702206)
 * [Bordered Blocks - Add subtle borders or outlines and labels to Blocks in the Editor](https://wordpress.org/plugins/bordered-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bordered-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bordered-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/bordered-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bordered-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bordered-blocks/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [fishmi](https://wordpress.org/support/users/fishmi/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/javascript-error-237/#post-18253429)
 * Status: not resolved