Site is no longer editable after adding some html script code

Permalink
Hello

I was searching for a way to add a script code to an concrete5 page.

I found this:https://www.concrete5.org/community/forums/usage/adding-custom-scrip...
"If you're just trying to add some JavaScript then you could use an HTML block to place it on the page. "

So I added some code to an html element and loaded the page again.

Problem: Code is not working and page is no longer editable, so I cannot remove or modify the code.

Question:
Wow can I remove or modify the code without deleting the whole site?
Do I have to edit the SLQ-database by hand?

 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
You should be able to login directly top the dashboard, go to the sitemap, and revert the page version to before the script.
yoursite.com/dashboard or yoursite.com/index.php/dashboard

Once you have the page reverted and the faulty html removed, next time use either my Safe HTML template:https://www.concrete5.org/marketplace/addons/safe-html...
or @mesuva's Script block:https://www.concrete5.org/marketplace/addons/script-output/...