Neue Komponente für Article-Media-Image sowie eine allgemeine Image Komponente. Article-Komponente WorkInProgress.

This commit is contained in:
2022-06-09 08:23:39 +02:00
parent d872767845
commit 4824effccb
12 changed files with 180 additions and 343 deletions

View File

@@ -19,26 +19,22 @@ meta:
mediaQuery: "(max-width:599px)"
primaryText: path
columns:
- source: article.general.locale
type: flag
- article.general.public
- article.content.title
- article.general.position
- article.general.sort
- source: article.general.locale
type: flag
# Desktop
- type: table
mediaQuery: "(min-width:600px)"
columns:
- source: article.general.locale
type: flag
- article.general.public
- label: { de: "Titel", en: "Title" }
source: article.content.title
filter: true
- label: { de: "Position", en: "Position" }
source: article.general.position
filter: true
- article.general.sort
- source: article.general.locale
type: flag
imageFilter:
xs:

View File

@@ -5,7 +5,7 @@ meta:
label:
de: Einstellungen zum Artikel
en: Article Setings
activeTab: 0
activeTab: 1
subFields:
- name: general
type: object
@@ -61,6 +61,7 @@ subFields:
label:
de: Schlagworte / Tags / Labels
en: Linking Tags
addAllowed: true
defaultValue: []
choices:
endpoint: "tags"
@@ -106,7 +107,7 @@ subFields:
label:
de: Inhalt dieses Artikel
en: Article Content
activeTab: 1
activeTab: 2
subFields:
- name: teaser
type: string
@@ -118,15 +119,14 @@ subFields:
meta:
widget: richtext
label: { de: "Detail-Text des Artikel", en: "Article Detail Text" }
- name: contentMedia
- name: media
type: object
meta:
label:
de: Medien
en: Media
css:
subFields:
- name: mediaFiles
- name: files
type: object[]
meta:
label: { de: "Bilder", en: "Images" }
@@ -142,6 +142,7 @@ subFields:
- name: id
type: string
meta:
editableWhileCreating: true
label: { de: "Technischer Name / ID", en: "Technical name / ID" }
- name: file
type: file
@@ -152,7 +153,7 @@ subFields:
type: string
meta:
label: { de: "Bildunterschrift", en: "Caption" }
- name: contentAttachments
- name: attachments
type: object
meta:
label:
@@ -160,7 +161,7 @@ subFields:
en: Attachments / Downloads
css:
subFields:
- name: attachments
- name: files
type: object[]
meta:
label: { de: "Anhänge", en: "Attachments" }
@@ -189,7 +190,7 @@ subFields:
label:
de: Erscheinungsbild
en: Appearance
defaultValue: ["_self"]
defaultValue: top-left
choices:
- {
id: "top",
@@ -215,13 +216,8 @@ subFields:
en: "Article picture under teaser (full width)",
},
}
- { id: "top-left", name: { de: "Artikelbild oben links", en: "Article picture above left" } }
- { id: "default", name: { de: "Artikelbild oben links", en: "Article picture above left" } }
- { id: "top-right", name: { de: "Artikelbild oben rechts", en: "Article picture above right" } }
- { id: "bottom-left", name: { de: "Artikelbild unten links", en: "Article picture below left" } }
- {
id: "bottom-right",
name: { de: "Artikelbild unten rechts", en: "Article picture below right" },
}
- name: properties
type: object
meta: