[GH-ISSUE #1871] [Bug] Copy paste a link containing "#" doesn't work #731

Closed
opened 2026-03-23 20:40:19 +00:00 by mirror · 3 comments
Owner

Originally created by @annieappflowy on GitHub (Feb 18, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1871

Originally assigned to: @AFZL210 on GitHub.

Bug Description

I'm trying to copy paste https://github.com/AppFlowy-IO/AppFlowy/issues/1867#issuecomment-1433204980 into the document
It only recoginizes the part before "#" as a link

How to Reproduce

image

Expected Behavior

Paste it as a link, and I can also open the link

Operating System

Windows 10

AppFlowy Version(s)

v0.1.0

Screenshots

No response

Additional Context

No response

Originally created by @annieappflowy on GitHub (Feb 18, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1871 Originally assigned to: @AFZL210 on GitHub. ### Bug Description I'm trying to copy paste https://github.com/AppFlowy-IO/AppFlowy/issues/1867#issuecomment-1433204980 into the document It only recoginizes the part before "#" as a link ### How to Reproduce <img width="526" alt="image" src="https://user-images.githubusercontent.com/12026239/219865147-6b6020de-505b-4c73-868b-88ebd269bed0.png"> ### Expected Behavior Paste it as a link, and I can also open the link ### Operating System Windows 10 ### AppFlowy Version(s) v0.1.0 ### Screenshots _No response_ ### Additional Context _No response_
mirror 2026-03-23 20:40:19 +00:00
  • closed this issue
  • added the
    editor
    bug
    labels
Author
Owner

@AFZL210 commented on GitHub (Mar 7, 2023):

I think the problem might be caused by the input field that stores pasted data,
can i work on this?

<!-- gh-comment-id:1458092949 --> @AFZL210 commented on GitHub (Mar 7, 2023): I think the problem might be caused by the input field that stores pasted data, can i work on this?
Author
Owner

@LucasXu0 commented on GitHub (Mar 8, 2023):

Hey, @AFZL210. Sure. I assigned it to you.

<!-- gh-comment-id:1459146935 --> @LucasXu0 commented on GitHub (Mar 8, 2023): Hey, @AFZL210. Sure. I assigned it to you.
Author
Owner

@Xazin commented on GitHub (Mar 26, 2023):

Didn't see someone was assigned to this issue, the problem was quite simple, the regex when handling single-line plain rich text pasting in the editor, didn't recognize # in URLs due to the regex.

<!-- gh-comment-id:1483966330 --> @Xazin commented on GitHub (Mar 26, 2023): Didn't see someone was assigned to this issue, the problem was quite simple, the regex when handling single-line plain rich text pasting in the editor, didn't recognize # in URLs due to the regex.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#731
No description provided.