How to add color picker to widgets?
I have some problems adding the wpColorPicker to a Widget. Does anyone have a working sample? It only works when I click on ‘Save’ or reload the page, but when I drag a new widget to the area it will not activate. Anyone any ideas? Below you can find my code so far. class SampleWidget … Read more