Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Eric Holk5418013a3967
diff --git a/crates/agent_ui/src/message_editor.rs b/crates/agent_ui/src/message_editor.rs
index 36d18a5843d..c75d0479b7b 100644
--- a/crates/agent_ui/src/message_editor.rs
+++ b/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))
}))
});