spectrum icon indicating copy to clipboard operation
spectrum copied to clipboard

Container does not appears with 2.0.0 version

Open londonuk371 opened this issue 4 years ago • 1 comments

Hello,

As mentioned in https://seballot.github.io/spectrum/ I have copied/pasted the CDN to insert Spectrum in my project:

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/spectrum.min.js">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/spectrum.min.css">

But the colour in the container (sp-colorize) is not displayed. I have removed everything from the page to check if there was any conflict with another plugin or one of my JS but same result.

I tried some other CDN sources (cdnjs.com) but same result: no colour in container (sp-colorize).

So I recovered the source of Spectrum from https://seballot.github.io/spectrum/:

And everything was working fine!

Nice job, this colour picker is really great :)

londonuk371 avatar May 19 '20 17:05 londonuk371

Same issue here. Hopefully for once , I went to the Issue tab of the project, I was going crazy ^^

SlimGary avatar Jul 01 '20 04:07 SlimGary