Skip to content

feat: adding ai menu shortcut (align with copilot) #1795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BetterAndBetterII
Copy link

@BetterAndBetterII BetterAndBetterII commented Jun 27, 2025

Ctrl-I or Command-I to open AI-Menu

This pull request introduces enhancements to the xl-ai package, focusing on dependency updates and the addition of a new ProseMirror plugin to enable keyboard shortcuts for AI menu interactions. The most significant changes include adding the ShortcutPlugin for streamlined AI menu access and updating dependencies in package.json to support new functionality.

Dependency Updates:

  • packages/xl-ai/package.json: Added prosemirror-keymap and its type definitions (@types/prosemirror-keymap) to enable keyboard shortcut functionality.

Plugin Addition:

Integration of ShortcutPlugin:

  • packages/xl-ai/src/AIExtension.ts: Imported the ShortcutPlugin and integrated it into the AIExtension class, ensuring the plugin is added to the ProseMirror editor.

Copy link

vercel bot commented Jun 27, 2025

@BetterAndBetterII is attempting to deploy a commit to the TypeCell Team on Vercel.

A member of the Team first needs to authorize it.

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