After removing that block of script that wasn’t supposed to be in the theme options and deleting and reinstalling a the previous (not most up to date) version of Pro I can now edit my site via the Pro editor. Yeah!
Thank you for all your help in troubleshooting my site. If I come up against this issue again, I’ll run through all the advice you gave me here before contacting you again.
many thanks.