Console error, even if everything is working?
The colour picker is working fine because it’s a separate script being enqueued as a dependency of custom-script-handle. So even if custom-script-handle isn’t loading because the URL is wrong the colour picker script will still load. If you don’t enqueue custom-script-handle then the colour picker won’t work because the script is being enqueued at all. … Read more