Hi,
I know it’s been a while but I had a similar issue and this is how I solved it.
A bit of background, we’re using the enfold theme and have just upgraded WordPress. We’re also using the Cloudflare plugin and were using aggressive caching on the site. I paused Cloudflare, disabled all plugins & re-installed but still nothing.
I checked in the Javascript console on the page editor (where I was getting a spinning circle indefinitely) and saw a jQuery error that a[rel=] was not a valid expression.
So after some digging I found the error in line 948 of the file “/wp-content/themes/enfold/framework/js/avia_colorpicker.js”
Before:
.bind('click', showTab).filter('a [rel=' + hash + ']');
After:
.bind('click', showTab).filter('a [rel="' + hash + '"]');
Hope this helps someone!