Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form Preview in Gutenberg #4

Open
ineagu opened this issue Feb 13, 2018 · 0 comments
Open

Form Preview in Gutenberg #4

ineagu opened this issue Feb 13, 2018 · 0 comments

Comments

@ineagu
Copy link

ineagu commented Feb 13, 2018

Even if a special preview tab won't be added to Gutenberg, we can try to render the form, here is how I would see the approach for v1:

Once the block is added we check if there are existing forms created:

If there is 1 form, we'll automatically load it and preview it.

If there are multiple forms, we'll show the dropdown, once user select a form, we'll display that.

Allowing users to revert the form selected initially is for the scope of this project a non-issue.

You might want to look at this: https://calderaforms.com/doc/add-contact-form-new-wordpress-post-editor/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant