Skip to content

Commit

Permalink
Merge pull request #275 from statikbe/KarelJanVanHaute/issue125
Browse files Browse the repository at this point in the history
Add "Video description" field to both video blocks
  • Loading branch information
Numkil authored Feb 1, 2024
2 parents 027b7f4 + fc59d6c commit 5735d10
Show file tree
Hide file tree
Showing 23 changed files with 409 additions and 171 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,6 @@ fields:
restrictedDefaultUploadSubpath: null
restrictedLocationSource: 'volume:979c3eeb-f99a-4ca1-bcbe-ce9298a4e4ca' # Public Files
restrictedLocationSubpath: null
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Asset
-
- fieldContext
- global
-
- class
- craft\elements\conditions\assets\AssetCondition
selectionLabel: null
showSiteMenu: false
showUnpermittedFiles: false
Expand Down Expand Up @@ -138,6 +127,7 @@ fields:
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: site
type: craft\ckeditor\Field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ fields:
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: site
type: craft\ckeditor\Field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ fields:
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: site
type: craft\ckeditor\Field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,17 +209,6 @@ fields:
restrictedDefaultUploadSubpath: null
restrictedLocationSource: 'volume:979c3eeb-f99a-4ca1-bcbe-ce9298a4e4ca' # Public Files
restrictedLocationSubpath: null
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Asset
-
- fieldContext
- global
-
- class
- craft\elements\conditions\assets\AssetCondition
selectionLabel: 'Add an image'
showSiteMenu: true
showUnpermittedFiles: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,6 @@ fields:
maintainHierarchy: false
maxRelations: null
minRelations: null
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Entry
-
- fieldContext
- global
-
- class
- craft\elements\conditions\entries\EntryCondition
selectionLabel: null
showSiteMenu: true
sources: '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2618,6 +2618,7 @@ fields:
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: site
type: craft\ckeditor\Field
Expand Down Expand Up @@ -2648,17 +2649,6 @@ fields:
restrictedDefaultUploadSubpath: null
restrictedLocationSource: 'volume:979c3eeb-f99a-4ca1-bcbe-ce9298a4e4ca' # Public Files
restrictedLocationSubpath: null
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Asset
-
- fieldContext
- global
-
- class
- craft\elements\conditions\assets\AssetCondition
selectionLabel: null
showSiteMenu: false
showUnpermittedFiles: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ fields:
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: site
type: craft\ckeditor\Field
Expand Down Expand Up @@ -2686,17 +2687,6 @@ fields:
restrictedDefaultUploadSubpath: null
restrictedLocationSource: 'volume:979c3eeb-f99a-4ca1-bcbe-ce9298a4e4ca' # Public Files
restrictedLocationSubpath: null
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Asset
-
- fieldContext
- global
-
- class
- craft\elements\conditions\assets\AssetCondition
selectionLabel: 'Add an image'
showSiteMenu: true
showUnpermittedFiles: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2635,6 +2635,7 @@ fields:
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: site
type: craft\ckeditor\Field
Expand All @@ -2658,6 +2659,7 @@ fields:
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: site
type: craft\ckeditor\Field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,19 @@ fieldLayouts:
uid: f3b691ab-3aba-42aa-9b69-08b6498a0827
userCondition: null
warning: null
width: 100
width: 50
-
elementCondition: null
fieldUid: 896816a1-5444-4e1b-b74c-efbac472953c # Placeholder Image
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: ada65645-8cc4-4f63-a6cf-2c60df1e7396
userCondition: null
warning: null
width: 50
-
elementCondition: null
fieldUid: c8533e19-1c6c-4d33-8e50-71babb409313 # Video position
Expand All @@ -64,7 +76,19 @@ fieldLayouts:
uid: 2607da7f-daf5-4c42-8c89-915abc68dd03
userCondition: null
warning: null
width: 100
width: 50
-
elementCondition: null
fieldUid: 561b6d99-0213-4cfc-bd14-c3c4f4ff02d3 # Video Caption
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 0c6bd8fe-1653-466a-b821-71b168ce970f
userCondition: null
warning: null
width: 50
-
elementCondition: null
fieldUid: f3f6d3ea-ccb1-48a5-bb33-93e1e31aff24 # Background Color
Expand Down Expand Up @@ -2589,6 +2613,30 @@ fields:
translationKeyFormat: null
translationMethod: site
type: verbb\hyper\fields\HyperField
561b6d99-0213-4cfc-bd14-c3c4f4ff02d3: # Video Caption
columnSuffix: dtoiikmr
contentColumnType: text
fieldGroup: null
handle: videoCaption
instructions: null
name: 'Video Caption'
searchable: false
settings:
availableTransforms: ''
availableVolumes: '*'
ckeConfig: 7d23b02c-ad1d-44a8-9751-35fbdcc38963 # Standard
columnType: text
defaultTransform: null
enableSourceEditingForNonAdmins: false
purifierConfig: null
purifyHtml: true
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: none
type: craft\ckeditor\Field
2561c4fb-34b5-49e6-ade6-f774411e48ba: # Video
columnSuffix: null
contentColumnType: string(255)
Expand All @@ -2604,6 +2652,44 @@ fields:
translationKeyFormat: null
translationMethod: site
type: craft\fields\Url
896816a1-5444-4e1b-b74c-efbac472953c: # Placeholder Image
columnSuffix: null
contentColumnType: string
fieldGroup: null
handle: placeholderImage
instructions: null
name: 'Placeholder Image'
searchable: false
settings:
allowSelfRelations: false
allowSubfolders: false
allowUploads: false
allowedKinds:
- image
branchLimit: null
defaultUploadLocationSource: 'volume:979c3eeb-f99a-4ca1-bcbe-ce9298a4e4ca' # Public Files
defaultUploadLocationSubpath: null
localizeRelations: false
maintainHierarchy: false
maxRelations: 1
minRelations: null
previewMode: full
restrictFiles: true
restrictLocation: false
restrictedDefaultUploadSubpath: null
restrictedLocationSource: 'volume:979c3eeb-f99a-4ca1-bcbe-ce9298a4e4ca' # Public Files
restrictedLocationSubpath: null
selectionLabel: null
showSiteMenu: false
showUnpermittedFiles: false
showUnpermittedVolumes: false
sources: '*'
targetSiteId: null
validateRelatedElements: false
viewMode: large
translationKeyFormat: null
translationMethod: site
type: craft\fields\Assets
c8533e19-1c6c-4d33-8e50-71babb409313: # Video position
columnSuffix: null
contentColumnType: string
Expand Down Expand Up @@ -2657,6 +2743,7 @@ fields:
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: site
type: craft\ckeditor\Field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@ fieldLayouts:
uid: 10b5c1ef-5a1d-4b4f-90ca-41388b1bc2d1
userCondition: null
warning: null
width: 100
width: 50
-
elementCondition: null
fieldUid: 724561c2-845a-427f-b005-e0c2a35e0112 # Placeholder Image
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: b84cf6f5-a37f-4a41-8908-4157a510c99d
userCondition: null
warning: null
width: 50
-
elementCondition: null
fieldUid: fca40313-aa0d-4206-a530-c638a5166f69 # Background Color
Expand All @@ -28,11 +40,85 @@ fieldLayouts:
uid: ee4947c6-1e36-4c0a-9f92-995d187c1983
userCondition: null
warning: null
width: 100
width: 50
-
elementCondition: null
fieldUid: ae5f2b18-f88e-4521-a729-d5fccff56993 # Video Caption
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 7cf136e3-1af6-43c5-bcd3-2d6cf2878c1c
userCondition: null
warning: null
width: 50
name: Content
uid: 1b44f4cf-c6f3-495e-b01a-3cb36749abfd
userCondition: null
fields:
724561c2-845a-427f-b005-e0c2a35e0112: # Placeholder Image
columnSuffix: null
contentColumnType: string
fieldGroup: null
handle: placeholderImage
instructions: null
name: 'Placeholder Image'
searchable: false
settings:
allowSelfRelations: false
allowSubfolders: false
allowUploads: false
allowedKinds:
- image
branchLimit: null
defaultUploadLocationSource: 'volume:979c3eeb-f99a-4ca1-bcbe-ce9298a4e4ca' # Public Files
defaultUploadLocationSubpath: null
localizeRelations: false
maintainHierarchy: false
maxRelations: 1
minRelations: null
previewMode: full
restrictFiles: true
restrictLocation: false
restrictedDefaultUploadSubpath: null
restrictedLocationSource: 'volume:979c3eeb-f99a-4ca1-bcbe-ce9298a4e4ca' # Public Files
restrictedLocationSubpath: null
selectionLabel: null
showSiteMenu: false
showUnpermittedFiles: false
showUnpermittedVolumes: false
sources: '*'
targetSiteId: null
validateRelatedElements: false
viewMode: large
translationKeyFormat: null
translationMethod: site
type: craft\fields\Assets
ae5f2b18-f88e-4521-a729-d5fccff56993: # Video Caption
columnSuffix: tetgykfj
contentColumnType: text
fieldGroup: null
handle: videoCaption
instructions: null
name: 'Video Caption'
searchable: false
settings:
availableTransforms: ''
availableVolumes: '*'
ckeConfig: 7d23b02c-ad1d-44a8-9751-35fbdcc38963 # Standard
columnType: text
defaultTransform: null
enableSourceEditingForNonAdmins: false
purifierConfig: null
purifyHtml: true
showUnpermittedFiles: false
showUnpermittedVolumes: false
showWordCount: false
wordLimit: null
translationKeyFormat: null
translationMethod: none
type: craft\ckeditor\Field
d66ffcef-8ccc-4e89-9e36-bce49e0dd17a: # Video
columnSuffix: null
contentColumnType: string(255)
Expand Down
Loading

0 comments on commit 5735d10

Please # to comment.