Custom code Editor crashing

Hello,

I’m experiencing strange behavior with Editor after I implemented a script sent to me by a newsletter service: if I’m using Editor on a page where the script is present, it keeps crashing when opening items of one specific collection (“Radionice”).

Here is my site Read-Only:
https://preview.webflow.com/preview/radilica-copy?utm_source=radilica-copy&preview=0278f0fa1da756538f387698eeeedcfb

and the script is:

<script type=‘text/javascript’ src=‘https://static.mailplus.nl/jq/jquery-3.3.1.min.js’ language=‘javascript’></script>
<script type=‘text/javascript’ src=‘https://static.mailplus.nl/jq/jquery.validate-1.17.0.min.js’ language=‘javascript’></script>
<link rel=‘stylesheet’ href=‘https://static.mailplus.nl/jq/ui/jquery-ui-1.12.1.custom.min.css’ type=‘text/css’></link>
<script type=‘text/javascript’ src=‘https://static.mailplus.nl/jq/ui/jquery-ui-1.12.1.custom.min.js’ language=‘javascript’></script>
<script type=‘text/javascript’ src=‘https://m13.mailplus.nl/genericservice/code/servlet/React?command=getFormJs&uid=2110570&feid=bGxiYGE59I8bmxvYxZku&p=https&om=d&of=h&c=1&jq=3’></script>

This is the error I keep getting after clicking on any item within Radionice collection, and the console screenshot.

thanks!

Hi @Radilica,

Custom code can case some conflicts with the Designer and Editor. I’d recommend checking if you can reproduce this behavior without the script.

If not, then I’d suggest checking your script or look for alternatives to add this functionality to the site.

Since this seems to be caused by and external script and not a platform bug, I’m moving this post to the Code Help category, so that the Community can provide more help with custom code.

Hello Nita,

thanks for moving the case to an appropriate forum. It’s definitely the script causing the issues (when I remove it, the Editor works normally).

Any ideas what I should be looking for in the script that makes the Editor crash?
thanks!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.