You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chat - “Paste and Match Style”, “Paste as plain text”, Shift+Option+Cmd+V doesn't remove markdown #31805
Version Number: 1.4.3.0 Reproducible in staging?: y Reproducible in production?: n If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause internal team Slack conversation:
Action Performed:
Go to staging.new.expensify.com or open Desktop App
Login with any account
Open any chat
Copy message with markdown
Paste it using “Paste and Match Style”, “Paste as plain text” for Desktop or Shift+Option+Cmd+V for Web
Expected Result:
Copied message pasted with markdown removed
Actual Result:
“Paste and Match Style”, “Paste as plain text”, Shift+Option+Cmd+V doesn't remove markdown
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Yeah, confirmed.
So @robertKozik@flodnv it looks like the simple fix of setting markdown on the plain text of the clipboard doesn't work so I have got two options:
To make only PrivateNote (a module) handle code paste by sharing same code used in Compose.
Make kind of TextInput module (or update the already exiting one) that handle code paste (html) that will be shared everywhere we use a text input that should have code paste feature.
Activity
melvin-bot commentedon Nov 23, 2023
Triggered auto assignment to @twisterdotcom (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Nov 23, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Nov 23, 2023
Triggered auto assignment to @francoisl (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.luacmartins commentedon Nov 23, 2023
Probably coming from #31619
FitseTLT commentedon Nov 24, 2023
Yeah, confirmed.
So @robertKozik @flodnv it looks like the simple fix of setting markdown on the plain text of the clipboard doesn't work so I have got two options:
PrivateNote(a module) handle code paste by sharing same code used inCompose.TextInputmodule (or update the already exiting one) that handle code paste (html) that will be shared everywhere we use a text input that should have code paste feature.flodnv commentedon Nov 24, 2023
Honestly I don't know what's best, maybe for now we just revert that PR
luacmartins commentedon Nov 24, 2023
Agreed. Revert PR here - #31852
luacmartins commentedon Nov 27, 2023
We reverted this PR and the issue is no longer reproducible. Closing this issue in favor of the original one - #29806