Skip to content

Copying formatted code is not working as expected #10189

@mvtglobally

Description

@mvtglobally

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 code from a code block comment (text surrounded by 3 backticks)
  2. Try pasting it without formatting (CMD+SHIFT+OPTION+V in os X)
  3. See how it includes the 3 backticks

Expected Result:

user should be able to send code

Actual Result:

the format is being included as text, you can't paste it with format anywhere and you can't really paste it without format either.

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web
  • Desktop App

Version Number: 1.1.86-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen Shot 2022-08-02 at 1 44 09 AM

Expensify/Expensify Issue URL:
Issue reported by: @iwiznia
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1659120334379329

View all open jobs on GitHub

Metadata

Metadata

Assignees

Labels

DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions