DEV: Hide proofreading shortcut in toolbar title (#1360)

This commit is contained in:
Keegan George 2025-05-22 09:36:55 -07:00 committed by GitHub
parent b817810d46
commit 11e90f5f3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,7 @@ function initializeAiHelperTrigger(api) {
icon: "discourse-sparkles",
title: "discourse_ai.ai_helper.context_menu.trigger",
preventFocus: true,
hideShortcutInTitle: true,
shortcut: "ALT+P",
shortcutAction: (toolbarEvent) => {
if (toolbarEvent.getText().length === 0) {