Skip to content

Conversation

@TRomesh
Copy link
Contributor

@TRomesh TRomesh commented Nov 7, 2025

  • Add more tags that would be needed for table and select.

@TRomesh TRomesh requested a review from Copilot November 7, 2025 20:13
@TRomesh TRomesh enabled auto-merge November 7, 2025 20:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the rich text renderer by adding support for additional HTML table and form elements, and reorganizes the documentation for better clarity.

  • Adds missing table elements (thead, tfoot, caption) and form element (option) to the element type map
  • Restructures documentation to consolidate supported elements into a single, categorized list
  • Removes the separate "Built-in Element Support" section in favor of the unified list in the "Available Element Types" section

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/optimizely-cms-sdk/src/components/richText/renderer.ts Adds option, thead, tfoot, and caption elements to the defaultElementTypeMap for complete table and form support
docs/6.1-richtext-component-react.md Consolidates and reorganizes element documentation into categorized lists, removes redundant "Built-in Element Support" section, and documents newly added elements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Removed 'pre' from text blocks in the RichText component documentation.
@TRomesh TRomesh merged commit 192fd3c into main Nov 10, 2025
4 checks passed
@TRomesh TRomesh deleted the CMS-46781-support-more-tags branch November 10, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants