Gutenberg development is progressing quickly and it’s almost certain that new block editor will be included in WordPress core in several months.
We at htmlBurger are excited about this change. We’re committed to maintaining Carbon Fields and making sure that it will play nicely with Gutenberg.
In order to achieve that we’re working on 2 fronts.
First, we’ll make sure that custom fields containers work flawlessly within the “Post Meta” boxes below the Gutenberg editor.
Update 2018-12-13: Carbon Fields v3 currently has release candidate. Please see the announcement here.
Very glad to know this. Turned onto Carbon Fields recently via the Roots.io community and loving it.
Very glad to hear that. Sounds amazing and even better that I thought you will solve it! Kudos to you 🙂
This is super exciting. I was hoping to see an already stable framework build something like this for custom blocks. Looking forward to this!
I’d like to get an update here and see where things are at.
Are you at the testing phase of this yet? Because Gutenberg form submits are AJAX, the JavaScript “carbonFields.validateField” event is not firing, at least when the container is of the “post_meta” type. I’m hoping that your testing of this feature will include the testing of JavaScript validation of the block, and that the developers of Gutenberg have given a way to prevent the AJAX request if the validation throws an exception or returns a value with a specific characteristic.
this doesn’t work.
i get
Fatal error: Call to a member function set_block_render_function() on null
Perfect!
Progress on this feature is being made here: https://github.com/htmlburger/carbon-fields/tree/v3
We plan to have this feature completed by end of November, i.e. for WordPress 5 release.
Newest gutenberg update broke carbon fields with custom post types. No more meta boxes are shown.
This has been addressed in v3. Please update your sites and see if the problem persists for you.