Revert "fix: enable paste html in compose box"#53675
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@srikarparsi Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
|
||
| const insertByCommand = (text: string) => { | ||
| // eslint-disable-next-line deprecation/deprecation | ||
| document.execCommand('insertText', false, text); |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-12-06.at.1.17.22.PM.movAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-12-06.at.1.13.59.PM.movMacOS: Desktop |
|
🎯 @thesahindia, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #53682. |
srikarparsi
left a comment
There was a problem hiding this comment.
lgtm other than the eslint change
|
hmm @srikarparsi do we care that eslint failed? This is a straight revert right now, but if we fix that error then it would only be a partial revert which is a little more confusing IMO |
|
Yeah, that sounds good to me. I thought it would be better to have a passing checklist - but I see what you're saying about knowing it's a straight revert is better than having to look into whether something went wrong with a partial revert. |
|
@srikarparsi looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Removing emergency label because eslint was the check that was failing - discussed in comments above |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Revert "fix: enable paste html in compose box" (cherry picked from commit a9bf599) (CP triggered by luacmartins)
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.0.72-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.72-1 🚀
|
Reverts #53367
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.