Skip to content

CMS: link button for Solution, Summary and sector/event Description - #391

Merged
saqibmanan merged 3 commits into
mainfrom
cms-solution-link-button
Oct 9, 2026
Merged

saqibmanan merged 3 commits into
mainfrom
cms-solution-link-button

Conversation

@saqibmanan

@saqibmanan saqibmanan commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Follows #388 (Context). Editors can now add hyperlinks with the CMS link button in these fields:

Field Where Change
Solution 7 Work collections Config only. project.js already rendered it as Markdown.
Summary 7 Work + 5 Event collections Config, plus project.js / eventdetail.js now render it with MarkdownView.
Description 7 Sector pages + 4 Event category pages Config, plus sector.js / event.js render it with MarkdownView. Links override the sidebar's 200px block a style so they stay inline.

Every field uses the same restricted markdown widget as Context: bold, italic, link and lists. Team/Alumni Description is unchanged because it's split on ; and Bio already has a markdown editor.

Verified locally: gatsby build passes (125 pages). Existing Summary and Description text renders the same as before, with the same spacing. With a link injected at 1440px, the sector sidebar link is inline and 18px in the sidebar cyan, and the summary link is inline in the Context link teal.

Switch the 7 Work Solution fields from the plain text widget to the
markdown widget, matching the Context fields (#388). The project page
already renders Solution as Markdown, so no template change is needed.
Project and event pages printed Summary as plain text, so a link typed in
it showed as [text](url). Render it with MarkdownView like Context and
Solution, keep the existing spacing, and switch the 12 Summary fields in
the CMS to the markdown widget with the link button.
Switch the sector and event category Description to MarkdownView and the
CMS markdown widget with a link button. Links inside it override the
sidebar's 200px block link style so they stay inline in the sentence.
@saqibmanan saqibmanan changed the title CMS: link button for the Solution fields CMS: link button for Solution, Summary and sector/event Description Oct 8, 2026
@saqibmanan
saqibmanan merged commit 4af91f9 into main Oct 9, 2026
2 checks passed
@saqibmanan
saqibmanan deleted the cms-solution-link-button branch October 9, 2026 07:15
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