mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-22 03:29:18 +01:00
735bea5dee1aa6fa04b84bc3144fcf93930f2e33
The old approach used document.execCommand("insertText") to directly
manipulate the contentEditable DOM, but MDXEditor (Lexical) reverted
these changes during reconciliation causing the "blink" bug.
Fix: work at the markdown string level instead — find the @query in
the markdown, replace it with @Name, and update via setMarkdown().
Also add an input event listener alongside selectionchange for more
reliable mention detection (fixes space-to-dismiss).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
Automatischer Upstream-Mirror von paperclipai/paperclip (AI-Agent-Orchestrierungsplattform).
2.3 GiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
92.8%
JavaScript
3.7%
Rust
2.6%
Python
0.3%
CSS
0.3%
Other
0.2%