Jump to content

Error when editing website. Was resolved by disabling scripts, the problem is likely caused by custom code i’ve added to your site.

Recommended Posts

Hi, wondering if anyone can help me identify the issue i'm having. I went to edit and correct some spelling mistakes on some sections on my website & it kept auto closing the edit box. 

I have recorded a quick loom to show the problem. https://www.loom.com/share/9ac9956ab3c74b8ca63f0fb3af961ae7?sid=f17bbd2f-b67b-4924-9c97-3da602b78d9d

I am assuming this is due to some code I have installed as the issue is gone when I disable scripts. Although the website doesn't have a lot of custom CSS. 

I have no idea how to identify an issue with the code? 

Link to comment
  • Replies 2
  • Views 348
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi @MillyBanks that looks frustrating to work with! If disabling scripts made the issue go away, then you're right, it's something in your custom code.

You will need to identify the problematic code and correct it. The best thing to do is to work backwards, what new code have you added/changed?

If you have no idea which code would have caused it, then I would suggest removing your code (save them somewhere!) and add back bits of code at a time, to identify which code is causing the issue.

Custom code can be located in Custom CSS, Code Injection (page specific and site-wide), Code Blocks.

Hope this helps.

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Website Developer
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Customisation help <- send me your design
 Did I help? I like coffee (Thank you)
🧰 See the tools I use (may contain affiliate links)


 

Link to comment

@meoldy495 is getting you started.

I'll add that CSS is unlikely to be the cause of clicks happening. It is most likely JavaScript code.

Don't store your code in a Word Processor. There is a good chance that when you paste back from the Word Processor into your site, the code will have been altered and is now broken. The main cause is dumb quotes being converted to smart quotes which causes syntax errors. On macOS you can select the text and drag and drop it to the desktop, creating a text clipping file. Or, copy and paste into Notes. I assume that other oses have similar functions.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.