-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Don't decode plain text on pasting text to composer #19738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't decode plain text on pasting text to composer #19738
Conversation
|
@danieldoglas @s77rt One of you needs to 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] |
|
I can't copy text in Android. I believe that's a known issue on Android |
Reviewer Checklist
Screenshots/VideosWebweb.mp4Mobile Web - Chromemweb-chrome.mp4Mobile Web - Safarimweb-safari.mp4Desktopdesktop.mp4iOSios.mp4AndroidNot able to reproduce due to a known bug |
s77rt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
|
@danieldoglas Yes, tests well for me. However I noticed another bug when you copy from Notes App lines are doubled (also reproducible in Kooha-2023-05-29-20-52-33.mp4 |
|
Got it, thanks @s77rt . Let's report that one as a separate issue. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/danieldoglas in version: 1.3.21-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.21-2 🚀
|
Details
We are decoding plain text on pasting text to composer. This will convert html entities that user type, such as
&to&.Fixed Issues
$ #19456
PROPOSAL: #19456 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
&PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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.Screenshots/Videos
Web
Screen.Recording.2023-05-29.at.18.37.01.mov
Mobile Web - Chrome
Screen.Recording.2023-05-29.at.19.05.35.mov
Mobile Web - Safari
Screen.Recording.2023-05-29.at.19.20.39.mov
Desktop
Screen.Recording.2023-05-29.at.18.40.17.mov
iOS
Screen.Recording.2023-05-29.at.19.05.07.mov
Android
Unable to copy text