Log1x / acf-editor-palette

A Gutenberg-like editor palette color picker field for Advanced Custom Fields.
https://github.com/Log1x/acf-editor-palette
MIT License
95 stars 15 forks source link

The clear button doesn't trigger a block update #24

Closed corentin-gautier closed 3 years ago

corentin-gautier commented 3 years ago

Hi !

Awesome plugin !

I just have on issue with it : the clear button doesn't trigger an update, which means that the last selected color stays on until I save the post and reload the page.

Other than that it's brilliant, would be awesome to have it on wpackagist too !

Thanks !

EDIT : Saving and reloading doesn't register that the clear button has been clicked. The only way I've found to register the change is to edit another acf field, and it sometimes doesn't work either

iamswain commented 3 years ago

I've noticed that when pressing the "clear" button, and editing another ACF field, it clears the other Editor Palette fields too.

corentin-gautier commented 3 years ago

@iamswain yup, fixed that too in my PR

Log1x commented 3 years ago

release pushed :)