Closed jessewaitz closed 5 years ago
I have figured this out. I placed a comment on the above mentioned tutorial, and just today the author responded to me. Here is the link to the tutorial's comments:
https://www.codeinwp.com/blog/make-plugin-compatible-with-gutenberg-sidebar-api/#disqus_thread
Sorry for bothering you with this question, thanks for the support.
I have created a sidebar for my theme with a list of page options, using button groups for toggling the the various page options. My code is based on the code from this tutorial: https://www.codeinwp.com/blog/make-plugin-compatible-with-gutenberg-sidebar-api/
My plugin works just fine, and saves the post meta, but the problem is that when i click these buttons, the editor's update button does not activate. I have to edit something in one of the blocks inside the main editor window to get the update button to change from greyed out to active. Is there a line of code I could add to make the update button activate when I click on the toggles in my sidebar?