diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/editor/plugins/shortcut/ShortcutNode.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/editor/plugins/shortcut/ShortcutNode.tsx index cd3647f6b..75740efdc 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/editor/plugins/shortcut/ShortcutNode.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/editor/plugins/shortcut/ShortcutNode.tsx @@ -98,7 +98,11 @@ export class ShortcutNode extends DecoratorNode { return ( - + ) } diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/editor/plugins/shortcut/components/ShortcutComponent.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/editor/plugins/shortcut/components/ShortcutComponent.tsx index 84d16be49..9a8f0eef5 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/editor/plugins/shortcut/components/ShortcutComponent.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/editor/plugins/shortcut/components/ShortcutComponent.tsx @@ -32,7 +32,7 @@ export const ShortcutComponent: React.FC = ({ + # } @@ -45,10 +45,10 @@ export const ShortcutComponent: React.FC = ({
- {shortcutData.name} + {shortcutData.name} {shortcutData.prompt ? ( - + {shortcutData.prompt} ) : null}