Skip to content

Comments

Enable 'landing-page only' view via Editor attributes#1336

Closed
jamdelion wants to merge 1 commit intomainfrom
jh/show-landing-md-landing-page
Closed

Enable 'landing-page only' view via Editor attributes#1336
jamdelion wants to merge 1 commit intomainfrom
jh/show-landing-md-landing-page

Conversation

@jamdelion
Copy link
Contributor

@jamdelion jamdelion commented Feb 19, 2026

In the projects site, we are creating a new "landing page" for projects that include the integrated editor. We want to show a new editor view on this page, which only includes the content of landing.md (usually an intro to the project, plus the expected visual output of the project).

This PR adds two new attributes to the editor web component to enable the 'landing page only' view to be toggled and populated with content.

Corresponding PR in projects-ui: https://github.com/RaspberryPiFoundation/projects-ui/pull/3642

⚠️ This PR must be merged first.

Design:

Screenshot 2026-02-19 at 15 53 59

@jamdelion
Copy link
Contributor Author

Realised we can handle this in projects-ui only without needing custom attributes here 🤦

@jamdelion jamdelion closed this Feb 20, 2026
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.

1 participant