From a1345f2311670660fc4d2e31bfae1b2df129de8e Mon Sep 17 00:00:00 2001 From: scheinriese Date: Wed, 11 Mar 2026 14:56:15 +0100 Subject: [PATCH] Replace raw Cmd+Enter hint in tag popover with shui shortcut component Co-Authored-By: Claude Opus 4.6 --- src/main/frontend/components/editor.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/frontend/components/editor.cljs b/src/main/frontend/components/editor.cljs index 5fb9615596..52cb1398f6 100644 --- a/src/main/frontend/components/editor.cljs +++ b/src/main/frontend/components/editor.cljs @@ -244,8 +244,8 @@ (when (and db-tag? (not (string/blank? q)) (not= "page" (string/lower-case q))) - [:p.px-1.opacity-50.text-sm - [:code (if util/mac? "Cmd+Enter" "Ctrl+Enter")] + [:p.px-1.opacity-50.text-sm.flex.flex-row.items-center.gap-2 + (shui/shortcut "mod+enter") [:span " to display this tag inline instead of at the end of this node."]])]))) (rum/defcs page-search < rum/reactive