agent_ui: Add "Paste as Plain Text" to message editor context menu (#50625)

Eric Holk created

Add the existing `PasteRaw` action to the right-click context menu in
the message editor, making it more discoverable. Previously it was only
available via the keyboard shortcut (Cmd+Shift+V / Ctrl+Shift+V) or
the command palette.

Release Notes:

- Added "Paste as Plain Text" to the agent panel message editor
right-click menu

Change summary

crates/agent_ui/src/message_editor.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/agent_ui/src/message_editor.rs 🔗

@@ -154,6 +154,7 @@ impl MessageEditor {
                             Box::new(editor::actions::Copy),
                         )
                         .action("Paste", Box::new(editor::actions::Paste))
+                        .action("Paste as Plain Text", Box::new(PasteRaw))
                 }))
             });