Skip to content

Pasting links creates blank markdown url syntax #22117

@bbhtt

Description

@bbhtt

Steps to reproduce

  1. Have nothing selected
  2. Paste a link in the input box

Outcome

What did you expect?

Just to paste that link

What happened instead?

Instead it creates [](<link to be pasted>)

Possibly a regression from matrix-org/matrix-react-sdk@dfc7224? To my understanding it should convert to markdown when text is selected, not when directly pasting the link.

Video:

Screencast.mp4

Operating system

Arch LInux

Browser information

Firefox 100

URL for webapp

https://develop.element.io/

Application version

Element version: 31b4354-react-aa8e3dbfb45a-js-da69ca215b9c Olm version: 3.2.8

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

O-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectX-Regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions