html-forms
html-forms copied to clipboard
Gutenberg support?
Thought about adding a block for GB?
I've been tinkering around to get a bit more familiar with GB;
Awesome, that looks great! Definitely open to it! Already had a people ask for it, but I haven't been able to look at it just yet.
:+1: Only thing I haven't figured out yet is how to get the form names/IDs through the REST API. The CPT is private and don't want to expose them publicly as posts, but also don't want to do a WP_Query
and just localize the data on every pageload to get the forms just in case someone wants to use a form on that page..
I was looking for a way to get 'private' CPT data from the API without exposing the data publicly, but doesn't seem this is possible.
Suggestions welcome :-)
@JeroenSormani Might be a case where a custom API endpoint with a strong permissions_callback
might be appropriate.
How does https://github.com/gravityforms/gravityformsrestapi do it?