14 months after I last wrote about Gutenberg, I tried it again. I will admit, it’s a very polished page editing package. What it really lacks is a Metadata API. Sure existing PHP based metaboxes seem to carry over and seem to work but it’s impossible to tell because page refreshes just don’t happen with Gutenberg. Reliable old hooks like ‘save post’ don’t seem to do anything.
Never the less, I gave it a shot to port my metaboxes over to a plugin sidebar. HTML text input controls are fairly straight forward to set up. What doesn’t work is any existing AJAX based metadata entry or even worse, HTML controls like select where the options are dynamically created. Nightmare. I had a couple of metaboxes that would leverage a text input box with jQuery autocomplete with the source being delivered via AJAX. Again, nightmare.
Text area controls with TinyMCE editing capability was a head scratcher and even the solution proposed in my StackExchange post seemed oddly complicated for a task that took 4-5 lines of php code to complete in the “old days.”
Time to re-engage the Classic Editor plugin. I will miss the ease of creating tables in Gutenberg but I’ll be fine handcoding HTML. Sorry. Not ready for the future.