support : integration except products
This commit is contained in:
parent
904dd353e8
commit
ba0df6b5cb
44 changed files with 2146 additions and 5 deletions
20
site/blueprints/blocks/heading.yml
Normal file
20
site/blueprints/blocks/heading.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: field.blocks.heading.name
|
||||
icon: title
|
||||
wysiwyg: true
|
||||
preview: heading
|
||||
fields:
|
||||
level:
|
||||
label: field.blocks.heading.level
|
||||
type: toggles
|
||||
empty: false
|
||||
default: "h2"
|
||||
labels: false
|
||||
options:
|
||||
- value: h3
|
||||
icon: h3
|
||||
text: H3
|
||||
text:
|
||||
label: field.blocks.heading.text
|
||||
type: writer
|
||||
inline: true
|
||||
placeholder: field.blocks.heading.placeholder
|
||||
27
site/blueprints/blocks/image.yml
Normal file
27
site/blueprints/blocks/image.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: field.blocks.image.name
|
||||
icon: image
|
||||
preview: image
|
||||
fields:
|
||||
image:
|
||||
label: field.blocks.image.name
|
||||
type: files
|
||||
query: model.images
|
||||
multiple: false
|
||||
image:
|
||||
back: black
|
||||
uploads:
|
||||
template: blocks/image
|
||||
alt:
|
||||
label: field.blocks.image.alt
|
||||
type: text
|
||||
icon: title
|
||||
help: Description de l’image, utile si elle ne s’affiche pas. Écrivez comme si vous expliquiez l'image à quelqu'un par téléphone.
|
||||
caption:
|
||||
label: field.blocks.image.caption
|
||||
type: writer
|
||||
icon: text
|
||||
inline: true
|
||||
link:
|
||||
label: field.blocks.image.link
|
||||
type: text
|
||||
icon: url
|
||||
10
site/blueprints/blocks/text.yml
Normal file
10
site/blueprints/blocks/text.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
name: field.blocks.text.name
|
||||
icon: text
|
||||
wysiwyg: true
|
||||
preview: text
|
||||
fields:
|
||||
text:
|
||||
type: writer
|
||||
headings:
|
||||
- 4
|
||||
placeholder: field.blocks.text.placeholder
|
||||
Loading…
Add table
Add a link
Reference in a new issue