Skip to content

Can the shortcut keys be modified through configuration? #2148

@Red-Asuka

Description

@Red-Asuka

Describe the problem

My website uses Algolia search and it works well. I also use an AI assistant on the website, and I found that when users input '/', it opens the Algolia search box. It seems to be a shortcut key conflict. Is there any way to disable the '/' shortcut key or can I assign it to another shortcut key?

Describe the solution

Provide a configuration that can modify shortcut keys, such as openShortcutKey: '/'.

Alternatives you've considered

Or, it can control the validity of shortcut keys through coding, and in some cases, it can temporarily disable shortcut keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions