element-hq / element-hq/element-web

"Insert link" should detect if the clipboard holds a valid link, and immediately insert it

Open
#20,135 3 comments 0 reactions 0 assignees View on GitHub
A-Composer O-Frequent S-Minor T-Enhancement X-Needs-Product
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

The markdown popup on text is nice, but I think it could be nicer if the insert link popup verifies the clipboard with a link regex, and just puts it in, it'd save a little `ctrl-v` press.

### Have you considered any alternatives?

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the insert link popup and its clipboard handling in the Element web client. Check how the popup currently accepts links, then determine how valid clipboard content should trigger immediate insertion and how that behavior can be verified. Done means a valid clipboard link is inserted without an extra paste action, while invalid clipboard content leaves the normal flow unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.