Upgrade to 4.0.0
This commit is contained in:
@@ -8,7 +8,7 @@ fields:
|
||||
query: model.images
|
||||
multiple: true
|
||||
layout: cards
|
||||
size: tiny
|
||||
size: small
|
||||
empty: field.blocks.gallery.images.empty
|
||||
uploads:
|
||||
template: blocks/image
|
||||
|
@@ -5,20 +5,31 @@ preview: heading
|
||||
fields:
|
||||
level:
|
||||
label: field.blocks.heading.level
|
||||
type: select
|
||||
type: toggles
|
||||
empty: false
|
||||
default: "h2"
|
||||
width: 1/6
|
||||
labels: false
|
||||
options:
|
||||
- h1
|
||||
- h2
|
||||
- h3
|
||||
- h4
|
||||
- h5
|
||||
- h6
|
||||
- value: h1
|
||||
icon: h1
|
||||
text: H1
|
||||
- value: h2
|
||||
icon: h2
|
||||
text: H2
|
||||
- value: h3
|
||||
icon: h3
|
||||
text: H3
|
||||
- value: h4
|
||||
icon: h4
|
||||
text: H4
|
||||
- value: h5
|
||||
icon: h5
|
||||
text: H5
|
||||
- value: h6
|
||||
icon: h6
|
||||
text: H6
|
||||
text:
|
||||
label: field.blocks.heading.text
|
||||
type: writer
|
||||
inline: true
|
||||
width: 5/6
|
||||
placeholder: field.blocks.heading.placeholder
|
||||
|
@@ -8,8 +8,8 @@ fields:
|
||||
columns: 2
|
||||
default: "kirby"
|
||||
options:
|
||||
kirby: Kirby
|
||||
web: Web
|
||||
kirby: "{{ t('field.blocks.image.location.internal') }}"
|
||||
web: "{{ t('field.blocks.image.location.external') }}"
|
||||
image:
|
||||
label: field.blocks.image.name
|
||||
type: files
|
||||
|
Reference in New Issue
Block a user