Skip to content

WEB-45 Added a link, unlink button to RichTextComponent#137

Open
leec18 wants to merge 1 commit intomainfrom
WEB-45
Open

WEB-45 Added a link, unlink button to RichTextComponent#137
leec18 wants to merge 1 commit intomainfrom
WEB-45

Conversation

@leec18
Copy link
Copy Markdown
Collaborator

@leec18 leec18 commented Apr 14, 2026

Added a Link/Unlink button to the rich text toolbar via renderMenu

  • Prompts the user for a URL on click, and switches to "Unlink" when the typing cursor is over an existing link.
  • Linked text renders with text-sga-red and underline.

Note:
This file has "use client" due to window.prompt and editor callbacks in renderMenu.

  • Maybe splitting the menu into a separate "use client" component?

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website-development Ready Ready Preview, Comment Apr 14, 2026 7:12am

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