Skip to content

Conversation

sc-nipunaabeywickrama
Copy link
Collaborator

@sc-nipunaabeywickrama sc-nipunaabeywickrama commented Sep 29, 2025

What

Ensure the Title field rendering uses the route's Title field so that it includes the correct Experience Editor metadata (chrometype="field") and is editable.

Why

Previously, the Title component rendered the field from contextItem, which did not provide the required metadata. As a result, the Title was not editable in the Experience Editor. Starter templates worked, but new components added to the page were not editable.

How

  • Updated Title.tsx to use page.layout.sitecore.route?.fields?.pageTitle instead of contextItem.
  • Verified that the <Text /> component now renders with EE metadata.

…d for improved title handling and ensure proper editing in Experience Editor
…lize pageTitle field for improved title handling and editing capabilities in Experience Editor
@sc-chathumikaalwis sc-chathumikaalwis merged commit cab413b into Sitecore:main Sep 30, 2025
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.

2 participants