impress-org/givewp-next-gen

Storage Driver should use the FormData interface for previews

kjohnson opened this issue · 0 comments

Details

@jonwaldstein I'm considering updating the signature of the preview method to match the FormData interface used by save and load. Also, if blocks is a property of formSettings then the interface can probably be simplified.

Originally posted by @kjohnson in #81 (comment)

Ah yeah, that would make sense to do.

Originally posted by @jonwaldstein in #81 (comment)

Also, I think it would make more sense to change template to templateId just so it's more clear that we are referring to the ID of the template specifically.

Originally posted by @jonwaldstein in #81 (comment)

image