From cbcc11f2273e1063eee2aa7e97b631f63b8946ca Mon Sep 17 00:00:00 2001 From: Blake Mason Date: Mon, 25 Sep 2023 14:49:51 -0700 Subject: [PATCH] [F] Image block has plain text caption --- ...-bad8a706-ea60-4282-b1da-3c9ee5f2111a.yaml | 19 +++++++++++++++++++ ...-dd4f7c39-ff32-47e4-b4eb-129bbf44b4a7.yaml | 2 +- ...-59560b67-c194-46fc-9404-cb790a44800a.yaml | 14 +++++++------- api/config/project/project.yaml | 5 +++-- 4 files changed, 30 insertions(+), 10 deletions(-) create mode 100644 api/config/project/fields/caption--bad8a706-ea60-4282-b1da-3c9ee5f2111a.yaml diff --git a/api/config/project/fields/caption--bad8a706-ea60-4282-b1da-3c9ee5f2111a.yaml b/api/config/project/fields/caption--bad8a706-ea60-4282-b1da-3c9ee5f2111a.yaml new file mode 100644 index 0000000..5ff3a73 --- /dev/null +++ b/api/config/project/fields/caption--bad8a706-ea60-4282-b1da-3c9ee5f2111a.yaml @@ -0,0 +1,19 @@ +columnSuffix: trpsyotq +contentColumnType: text +fieldGroup: 5599d188-862e-4717-b206-6aadd975c937 # Common +handle: caption +instructions: null +name: Caption +searchable: false +settings: + byteLimit: null + charLimit: null + code: false + columnType: null + initialRows: 4 + multiline: false + placeholder: null + uiMode: normal +translationKeyFormat: null +translationMethod: site +type: craft\fields\PlainText diff --git a/api/config/project/fields/captionRichText--dd4f7c39-ff32-47e4-b4eb-129bbf44b4a7.yaml b/api/config/project/fields/captionRichText--dd4f7c39-ff32-47e4-b4eb-129bbf44b4a7.yaml index c6f7503..73aaed2 100644 --- a/api/config/project/fields/captionRichText--dd4f7c39-ff32-47e4-b4eb-129bbf44b4a7.yaml +++ b/api/config/project/fields/captionRichText--dd4f7c39-ff32-47e4-b4eb-129bbf44b4a7.yaml @@ -3,7 +3,7 @@ contentColumnType: text fieldGroup: 5599d188-862e-4717-b206-6aadd975c937 # Common handle: captionRichText instructions: null -name: Caption +name: 'RTE Caption' searchable: false settings: availableTransforms: '' diff --git a/api/config/project/neoBlockTypes/image--59560b67-c194-46fc-9404-cb790a44800a.yaml b/api/config/project/neoBlockTypes/image--59560b67-c194-46fc-9404-cb790a44800a.yaml index a429f54..fb7dd19 100644 --- a/api/config/project/neoBlockTypes/image--59560b67-c194-46fc-9404-cb790a44800a.yaml +++ b/api/config/project/neoBlockTypes/image--59560b67-c194-46fc-9404-cb790a44800a.yaml @@ -4,7 +4,7 @@ description: '' enabled: true field: a46e7379-7773-4ce4-9c59-434567870f0c # Content Blocks fieldLayouts: - 2d0517df-2cae-47f5-bddc-d7c6823fda34: + 88bba6ce-bfef-4bdd-8dde-3dc67771effa: tabs: - elementCondition: null @@ -14,7 +14,7 @@ fieldLayouts: fieldUid: c22e4947-7fbb-488a-994f-246c31e27b95 # Image instructions: null label: null - required: false + required: true tip: null type: craft\fieldlayoutelements\CustomField uid: daf6ca48-a51c-408b-a898-381be6c31f30 @@ -23,25 +23,25 @@ fieldLayouts: width: 100 - elementCondition: null - fieldUid: dd4f7c39-ff32-47e4-b4eb-129bbf44b4a7 # Caption + fieldUid: 27af84b2-9ccb-416c-ae38-872fdca1f5c0 # Layout instructions: null label: null - required: false + required: true tip: null type: craft\fieldlayoutelements\CustomField - uid: 532503d1-b81c-459e-9455-fc30d2f25cf5 + uid: 2e979c28-bafa-4fef-8d5a-91a8c15d8e0e userCondition: null warning: null width: 100 - elementCondition: null - fieldUid: 27af84b2-9ccb-416c-ae38-872fdca1f5c0 # Layout + fieldUid: bad8a706-ea60-4282-b1da-3c9ee5f2111a # Caption instructions: null label: null required: false tip: null type: craft\fieldlayoutelements\CustomField - uid: 2e979c28-bafa-4fef-8d5a-91a8c15d8e0e + uid: 3f5474a8-83ec-4ca4-b431-33fe672203ae userCondition: null warning: null width: 100 diff --git a/api/config/project/project.yaml b/api/config/project/project.yaml index 77599c9..292766e 100644 --- a/api/config/project/project.yaml +++ b/api/config/project/project.yaml @@ -1,4 +1,4 @@ -dateModified: 1695321504 +dateModified: 1695323179 elementSources: craft\elements\Entry: - @@ -136,6 +136,7 @@ meta: b0af5e39-02aa-4d2b-97c8-3ef5ac7982fa: X-value # X-value b0465285-e18b-4739-a3a5-cb0ec0571dd8: Questions # Questions ba6494d9-36e8-40ee-9284-c56783357043: 'Interaction Group' # Interaction Group + bad8a706-ea60-4282-b1da-3c9ee5f2111a: Caption # Caption be5b1aeb-8cbb-4460-a87d-d1ebe0a4fbf8: 'Group Name' # Group Name bfaa63c2-dd2c-42c8-b68e-79d0180d5146: 'Investigation (Parent Entry)' # Investigation (Parent Entry) c6d1924e-d9ec-4547-bb6d-bddb9b46b774: Description # Description @@ -148,7 +149,7 @@ meta: d8be03ce-7aeb-4141-b40e-ec39ec1c796f: Educators # Educators d9df041c-3556-450e-94e1-f37369daf5f3: 'X-axis Label' # X-axis Label dd3a1151-8de9-46f6-995f-c721fa29a07b: Option # Option - dd4f7c39-ff32-47e4-b4eb-129bbf44b4a7: Caption # Caption + dd4f7c39-ff32-47e4-b4eb-129bbf44b4a7: 'RTE Caption' # RTE Caption dffb5cde-7093-4b3c-b9f6-cfc6792ee7a1: 'Answer Options' # Answer Options e2951ac7-e91a-4d8a-964f-50c6b6e0b1ee: 'Educator Schema' # Educator Schema e5142c27-2288-47b7-bfad-14cd6b3a6653: 'Display Name' # Display Name