Jump to content

Error in code block but can't edit it as editor is now broken

Go to solution Solved by paul2009,

Recommended Posts

I added a code block. Put some JS in there. Must have made a typo or some other error because when I refreshed the editor all I see is the Edit button at the top but it doesn't do anything. So I can't edit the page to remove the faulty code.

I tried with /safe on the end of the URL, but that just shows me the homepage. From there if I select the faulty page I want to edit, I'm back where I started... I can't see the content of the page, only an Edit button at the top that doesn't work.

I'm relatively new to SS. I presume this must be a common occurrence and there must be a way to get back into the page to edit it and remove the faulty code - but how?

Thank you.

Link to comment
  • Solution
30 minutes ago, russw said:

I tried with /safe on the end of the URL

The "/safe" must follow "/config", for example mysite.squarespace/config/safe. It cannot be added to any other URL path. Have you tried this?

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

Thank you! That was the problem.

I think the documentation is unclear.

I was reading this page: https://support.squarespace.com/hc/en-us/articles/205815908 which says to put /safe at the end of your "secure editing url". That links to this page https://support.squarespace.com/hc/en-us/articles/219311968 which gives an example of a secure editing url with /pages included:

"When you're logged in, the URL in your address bar looks different... This secure editing URL includes your built-in domain and the slug config. For example: https://example.squarespace.com/config/pages"

Note that the example includes /pages. So I thought it was instructing me to put /safe on the end of that.


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.