docsearch icon indicating copy to clipboard operation
docsearch copied to clipboard

Can the shortcut keys be modified through configuration?

Open Red-Asuka opened this issue 1 year ago • 0 comments

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.

Red-Asuka avatar Dec 20 '23 01:12 Red-Asuka