-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Revert "Allow multi-select on iOS Safari/touch devices" #65414
Conversation
This reverts commit 6aeba74.
Size Change: -581 B (-0.03%) Total Size: 1.77 MB
ℹ️ View Unchanged
|
Actually, this does fix it. We were testing it wrong. |
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
I will check today if there's anything we can do to fix it to avoid a revert. Otherwise it's fine. |
if ( ! containsSelection ) { | ||
if ( event.target !== element ) { |
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.
I think we just need to keep the code here as is. Otherwise, the following two problems will occur:
- Formatting is not applied when formatted text is copied continuously
- Links cannot be pasted into formatted text
This problem was reported in #63434, and I tried to solve this problem in #63779, but #63671 ended up solving this problem as result. Please see this discussion for why such code is needed.
trunk (expected)
expected.mp4
This PR (not expected)
not-expected.mp4
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.
@t-hamano Let's maybe reopen your PR and fix it again separately.
Addition: Confirmed that this PR also fixes #65547. |
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.
Did this revert apply cleanly, or did you have to manually resolve conflicts. Just wondering if there's any file in particular that needs closer attention.
I believe it was clean. |
I just cherry-picked this PR to the wp/6.7 branch to get it included in the next release: 68e47d0 |
It looks like the original PR also affected Kanji conversion on MacOS. See #65675. |
Reverts #63671
Testing to see if reverting fixes #64928.