mirror of
https://github.com/paperclipai/paperclip
synced 2026-03-25 11:21:48 +00:00
The previous fix (validateUrl on linkPlugin) only affected the link dialog, not the markdown-to-Lexical import path. Lexical's LinkNode.sanitizeUrl() converts agent:// and project:// URLs to about:blank because they aren't in its allowlist. Override the prototype method to preserve these schemes so mention chips render correctly. Co-Authored-By: Paperclip <noreply@paperclip.ing>