Skip to content
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

Migration to Input Events Level 2 #21

Open
Andrew-Chen-Wang opened this issue Jul 29, 2021 · 0 comments
Open

Migration to Input Events Level 2 #21

Andrew-Chen-Wang opened this issue Jul 29, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Andrew-Chen-Wang
Copy link
Owner

Andrew-Chen-Wang commented Jul 29, 2021

Due to the deprecation of execCommand, we need a plan to migrate to Input Events Level 2.

This affects all repositories using the current Wasabeef original JS files. Several WSYIWYG editors use execCommand, and many are hesitant to actually migrate yet due to input events not being finalized yet. Because I'm kinda busy, I'm looking for any helpers to get started in case execCommand is suddenly dropped from Safari breaking anyone who upgrades their iOS.


I mentioned this in the Android sister repo awhile ago, but no response. We're on our own :P Edit: I see why now too, ish:

from the main GitHub repo from W3 https://github.com/w3c/input-events/

Level 1 has two implementations (Chrome and Safari) and level 2 has one (Safari). Level 2 corresponds to the consensus reached within the Editing Taskforce at the end of 2016. Level 1 is a subset that was split off in early 2017, when the Chromium team announced that it would not implement the entire specifition. At this time Safari had already implemented the full specification. We also did not want to give up level 2 of the spec, because it actually resolves a lot of issues and there has been no counter-proposal to effectively solve these issues from the Android team or others. Given that Chromium team told the Editing Taskforce that it either had to release a spec with their proposed changes or they would drop the spec entirely, it was decided to split the specification in two levels.

In other words, our implementations will also be somewhat different.

@Andrew-Chen-Wang Andrew-Chen-Wang added enhancement New feature or request help wanted Extra attention is needed labels Jul 29, 2021
@Andrew-Chen-Wang Andrew-Chen-Wang self-assigned this Jul 29, 2021
@Andrew-Chen-Wang Andrew-Chen-Wang pinned this issue Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant