RocketChat / RocketChat/Rocket.Chat
Copy history message with multi line and pasty to new message will auto add blank line.
Open
Nobody has claimed this yet.
area: ui/ux
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
I have upgrade to 5.3.2.I found a bug.If I copy history message and it's message have multi line.Then I pasty to my message.It's will auto add blank line.How to fix it.
Steps to reproduce:
- Copy multi line history message
- Pasty to my message.
- It's will auto add blank line.
Expected behavior:
The original message should be displayed
Actual behavior:

The original is

Server Setup Information:
- Version of Rocket.Chat Server: 5.3.2
- Operating System: Ubuntu
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v14.19.3
- MongoDB Version: 4.4.15
Client Setup Information
- Desktop App or Browser Version: 3.8.14
- Operating System: Win11
Additional context
Relevant logs:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue using the three steps in the report: copy a multiline history message and paste it into a new message. Compare the pasted result with the original message and use the supplied screenshots as the expected and actual behavior. The issue is done when multiline content is pasted without an added blank line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100