Skip to content

Enable custom selection menu actions in MarkdownTextView#2

Merged
gtokman merged 3 commits intomainfrom
ios-app-size
Mar 26, 2026
Merged

Enable custom selection menu actions in MarkdownTextView#2
gtokman merged 3 commits intomainfrom
ios-app-size

Conversation

@gtokman
Copy link
Copy Markdown
Collaborator

@gtokman gtokman commented Mar 25, 2026

Custom Menu API

  • Added LTXCustomMenuItem to allow developers to define custom actions with titles, optional images, and closures that receive selected text.
  • Introduced a customMenuItems property to LTXLabel supporting up to 10 custom actions.

Multi-platform Support

  • Integrated custom actions into the iOS UIMenuController via canPerformAction.
  • Enabled macOS support for custom context menu items using a new NSMenuItemActionTrampoline helper for closure-based actions.

v0 Session

@vercel vercel bot added the v0 label Mar 25, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 25, 2026

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

Project Deployment Actions Updated (UTC)
markdown-view Ready Ready Preview, Comment, Open in v0 Mar 26, 2026 9:59pm

Request Review

@gtokman gtokman merged commit e78b9af into main Mar 26, 2026
2 checks passed
@gtokman gtokman deleted the ios-app-size branch April 10, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant