Skip to content

fix: show CMS button for YouTube video ID field#153

Merged
tristan-mouchet merged 1 commit intodevelopfrom
fix/video-id-cms-options
Apr 10, 2026
Merged

fix: show CMS button for YouTube video ID field#153
tristan-mouchet merged 1 commit intodevelopfrom
fix/video-id-cms-options

Conversation

@tristan-mouchet
Copy link
Copy Markdown
Collaborator

Summary

Fix missing CMS data button on the YouTube Video ID field in Video settings.
The RichTextEditor defaults allowedFieldTypes to ['rich_text'], which
filtered out the text-type fields passed via textFieldGroups.

Changes

  • Pass allowedFieldTypes={VIDEO_ID_FIELD_TYPES} to the Video ID RichTextEditor

Test plan

  • Select a video layer, set Source to YouTube
  • Verify the Video ID field shows the CMS data button (database icon)
  • Click the CMS button and confirm text-type fields are listed

- add the allowedFieldTypes prop to the VideoSettings component, enabling the specification of valid field types for video settings.
@tristan-mouchet tristan-mouchet added the Bug Something isn't working label Apr 10, 2026
@tristan-mouchet tristan-mouchet self-assigned this Apr 10, 2026
@tristan-mouchet tristan-mouchet merged commit b64ebb2 into develop Apr 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant