Allow Custom HTML Tag Assignment for Pages

Request:
Enable users to change the default HTML tag (currently always <div>) that wraps the Page content. This would allow better semantic control over top-level layout elements.


βœ… Expected Behavior

  • When editing a Page, users can choose a different HTML tag (e.g., <main>, <section>, <article>, <header>, etc.)

  • This tag is reflected in the published HTML

  • The tag can be selected via the Props Panel for the page


🎯 Why This Matters

  • Improves semantic structure and accessibility

  • Aligns with modern HTML practices (e.g., <main> for page content, <section> for grouped content blocks)

  • Gives developers more control over final output without needing to wrap content manually


πŸ“Œ Related Notes

  • May also require visual indicator in the UI to show which tag is currently being used


Please authenticate to join the conversation.

Upvoters
Status

Under Review

Board

Feature

Tags

Low Priority

Date

10 months ago

Author

Takeru Maeda

Subscribe to post

Get notified by email when there are changes.