spectrum icon indicating copy to clipboard operation
spectrum copied to clipboard

Is there any way to use spectrum as a singleton?

Open jarben opened this issue 9 years ago • 2 comments

The issue is that I'm rendering spectrum as a table cell editor, at the moment, each cell needs to render its own spectrum color picker. It would be great if there is a way to use it as a singleton so it only renders once and the DOM is reused when opened from a different DOM element.

Example: image

renders as: image

Can you think of any quick hack to replace DOM element on the fly?

jarben avatar Dec 05 '16 13:12 jarben

+1

Maybe creating tooltip on cell click is solution?

emiljas avatar Dec 28 '16 13:12 emiljas

+1 really like that

Mafti avatar Aug 30 '17 10:08 Mafti