RocketChat / RocketChat/Rocket.Chat

Copy history message with multi line and pasty to new message will auto add blank line.

Open
#27,396 10 comments 2 reactions 0 assignees View on GitHub

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:
  1. Copy multi line history message
  2. Pasty to my message.
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.