-
Notifications
You must be signed in to change notification settings - Fork 191
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
design(gutenberg): give gutenberg block concept #2456
Comments
Here's an idea of what a Give Donation Form block could look like in Gutenberg. The general idea is to adapt the existing functionality of the Shortcode Generator while capitalizing on the advantages that Gutenberg offers, such as real-time form previews. Give Gutenberg Block ConceptIn Gutenberg, the functionality of the existing Shortcode Generator can be split amongst the Block and the Inspector. I have demonstrated how this Block/Inspector combination can work below. Default Block AppearanceBlock Appearance After Form SelectionControlsBlock Controls
Inspector Controls
Questions
|
Note that to have full parity with our existing shortcode, we'll also need this:
Ref: https://givewp.com/documentation/core/shortcodes/give_form/ |
…nation-form-block Donation form preview fixes #2456
I just wanted to show the progress done so far on Gutenberg Donation Form Block. Here is the screencast of Donation Form Block: http://recordit.co/myIknPX61I The Donation Form Block embed the form preview base on the parameters selected in Block Control panel. The embedding technique to preview the form will ensure consistent preview as there might have been add-on plugins which would have been hooking custom fields in the donation from. The Form Preview will get refreshed to show new preview each time when user change the form settings from the Block Control panel. |
Looks great @PareshRadadiya |
I just updated this issue to be more design focused and part of the larger epic of creating our first Gutenberg block. As we've completed the design process I'm closing it out. |
Issue Overview
Give needs to design how the Gutenberg block is going to look.
The text was updated successfully, but these errors were encountered: