App: [$250] Desktop - Chat - Not all markdown is removed if text is pasted by command CTRL+SHIFT+V

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Copy the text with markdown (** for bold, __ for italics, `` for code) and navigate to ND chat
  2. Paste the text that was previously copied with CTRL + SHIFT + V or paste it by right clicking and selecting “Paste as plain text” (“Paste and Match Style”)
  3. Verify the text is pasted without any markdown into the compose box

Expected Result:

The text is pasted without any markdown into the compose box

Actual Result:

Not all markdown is removed. Removed only ``, characters ** and __ are left in the text.

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Desktop App

Version Number: 1.2.6.0

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers): any

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/93399543/192121156-867adc7f-46d3-4c32-8cad-54f28592d330.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

Oh man, this issue is getting confusing.

@kadiealexander that’s not totally correct, no. In your second video, you are making the same mistake that the previous commenter did as well, by thinking that our markdown is the same as the markdown supported by GitHub. What you’re doing is an invalid test.

You can see in my video from this comment, the proper way to test this.

Since I still don’t think there is a bug here, and everyone got really confused as to what is actually a problem and what isn’t, I’m going to close this out and chalk it up to an unclear bug report.

That looks like something completely different than what this issue is about. We don’t support GH markdown.

“Paste as plain text” (“Paste and Match Style”) CTRL + SHIFT + V should just extract text without any styles, that’s not happening here.