Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container does not appears with 2.0.0 version #561

Open
londonuk371 opened this issue May 19, 2020 · 1 comment
Open

Container does not appears with 2.0.0 version #561

londonuk371 opened this issue May 19, 2020 · 1 comment

Comments

@londonuk371
Copy link

londonuk371 commented May 19, 2020

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 :)

@SlimGary
Copy link

SlimGary commented Jul 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants