Skip to content

feat(menu): add custom context menu items functionality - #988

Merged
harbournick merged 7 commits into
mainfrom
feat/customize-context-menu
Sep 24, 2025
Merged

feat(menu): add custom context menu items functionality#988
harbournick merged 7 commits into
mainfrom
feat/customize-context-menu

Conversation

@palmer-cl

Copy link
Copy Markdown
Collaborator
  • Adds ability for users to pass in custom context menu items
  • Exposes certain context keys to make menu items aware (like isTrackedChange or isInTable along with others)
  • Optionally render your own custom menu
  • Optionally render our default items

Example 1:

image

Example 2:

image

@harbournick harbournick left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harbournick
harbournick enabled auto-merge (squash) September 24, 2025 23:21
@harbournick
harbournick merged commit 57e77d9 into main Sep 24, 2025
7 checks passed
@harbournick
harbournick deleted the feat/customize-context-menu branch September 24, 2025 23:46
@harbournick

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 0.21.0-next.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@harbournick

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 0.22.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

harbournick pushed a commit that referenced this pull request Sep 30, 2025
# [0.22.0](v0.21.0...v0.22.0) (2025-09-30)

### Bug Fixes

* context menu bypass standards ([#1029](#1029)) ([99e6bf7](99e6bf7))
* context menu bypass standards ([#1032](#1032)) ([8c80c2c](8c80c2c))
* do not track the annotation deletion on table generation ([#1036](#1036)) ([5e77dd4](5e77dd4))
* import/export of missing pict separators ([#1048](#1048)) ([8320a2c](8320a2c))
* losing selection on right click ([1e66343](1e66343))
* missing docx defaults from llm generated files ([#1030](#1030)) ([de7a2b2](de7a2b2))
* scope editor DOM queries to recover typing latency ([#1033](#1033)) ([7149090](7149090))
* tracked changes don't have corresponding comments ([#1045](#1045)) ([ebead1a](ebead1a))

### Features

* add MS Word fallback sizes to tables from LLM generated docx missing key data ([#1035](#1035)) ([850cc0b](850cc0b))
* **menu:** add custom context menu items functionality ([#988](#988)) ([57e77d9](57e77d9))
* structured content commands ([#1037](#1037)) ([1acf705](1acf705))
@harbournick

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 0.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

superdoc-bot Bot pushed a commit that referenced this pull request Jul 29, 2026
A reader landing on the V1 docs from an old link had one route to V2: a banner
they can dismiss, after which nothing on the page says which version they are
reading. Mintlify's own version switcher sits next to the logo and stays there.

Marking V1 as the default is what makes the control read v1 on this site rather
than v2.

With the switcher carrying the version, the banner no longer has to state it.
It keeps the news and the link and drops the middle clause.

Ported-From-Source-Repo: superdoc/orbit
Ported-From-Source-Commit: f53bbccf4dc1cc61176c4ec3f4daead7a60b4ebc
Ported-Public-Prefix: superdoc/public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants