Saving Metadata from the Gutenberg Editor Sidebar to the Database
Your JavaScript code works for me. The metadata do get saved. But perhaps you’d like to try my code which is pretty much completed, i.e. on page load, the checkbox is auto-checked/unchecked (and the text box is also shown/hidden) depending on the current database value. Secondly, I did it just as the Gutenberg team did … Read more