TypeScript
fix(web): composer Markdown source button shows the pilcrow again (#27375)
mariaaa11ef6783da
diff --git a/apps/web/src/components/chat/ComposerRichTextToggle.tsx b/apps/web/src/components/chat/ComposerRichTextToggle.tsxindex b705180c209..13aebff1984 100644--- a/apps/web/src/components/chat/ComposerRichTextToggle.tsx+++ b/apps/web/src/components/chat/ComposerRichTextToggle.tsx@@ -1,4 +1,4 @@-import { FeatherIcon } from "lucide-react";+import { PilcrowIcon } from "lucide-react";import { updateClientSettings } from "../../hooks/useSettings";import { Button } from "../ui/button";@@ -30,7 +30,7 @@ export function ComposerRichTextToggle({/>}>- <FeatherIcon />+ <PilcrowIcon /></TooltipTrigger><TooltipPopup>{showingSource ? "Show formatting" : "Show Markdown source"}diff --git a/docs/user/composer.md b/docs/user/composer.mdindex afac8ce64cf..6156a126ca2 100644--- a/docs/user/composer.md+++ b/docs/user/composer.md@@ -20,7 +20,7 @@ them. Lines starting with `- `, `1. `, `- [ ] `, `> `, `# ` or `---` become listtask lists, quotes, headings and rules; ` ``` ` followed by Enter opens a codeblock. What you typed is what the agent receives, markers and numberingincluded, and `#1234` without a space still looks up a pull request. To see the-plain Markdown instead, press the button beside attach; it is the same+plain Markdown instead, press the **¶** button beside attach; it is the sameswitch as **Settings → Chat → Rich text composer**.Enter sends. In a list or quote, **Shift+Enter** continues it, and Shift+Enter