diff --git a/packages/excalidraw/components/CommandPalette/CommandPalette.tsx b/packages/excalidraw/components/CommandPalette/CommandPalette.tsx index e8fdb1b96..d7ed691c5 100644 --- a/packages/excalidraw/components/CommandPalette/CommandPalette.tsx +++ b/packages/excalidraw/components/CommandPalette/CommandPalette.tsx @@ -91,13 +91,14 @@ const CommandShortcutHint = ({ className?: string; children?: React.ReactNode; }) => { - const shortcuts = shortcut.split(/(? - {shortcuts.map((item) => { + {shortcuts.map((item, idx) => { return (
-
{item}
+
{item === "$" ? "+" : item}
); })}