Pyrometric / BlockForm

GNU General Public License v2.0
1 stars 0 forks source link

Templates #15

Open paaljoachim opened 2 years ago

paaljoachim commented 2 years ago

Initially one could choose to use a template or start blank. Later on to access template or template parts (selecting a group of blocks to save as a template) one could access these in the top left block inserter.

(Here I removed patterns and added in Templates instead.) Choosing templates

Templates. One could save a full form as a template, and gain access to these somewhat similar to Reusable blocks today. There could also be a template tab in the Settings screen to access the templates. To Edit/Delete/Import/Export etc.

Template parts. Selecting multiple block fields and through the 3 dot contextual drop down being able to save the selected fields as a template. As there might be areas of a form one would like to also use in other forms.

DavidCramer commented 2 years ago

@paaljoachim - I actually prefer patterns.

We can filter then out and assign them to form types.

Let's rather look at patterns, and how to extend it.

One of the best things about the approach wee taking, is that we can mix content with forms. This meant more visual field than just fields and text.

paaljoachim commented 2 years ago

I just now created this issue for Gutenberg: Selecting multiple blocks - Save as Pattern or Reusable block. https://github.com/WordPress/gutenberg/issues/35305