Should execCommand dispatch beforeinput or not?
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 202
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
I briefly tested execCommand and beforeinput in https://codepen.io/SaschaNaz/pen/WNepGPa. For execCommand("bold"), Chrome does not dispatch beforeinput while Safari does dispatch it with inputType: "" (whereas both dispatch input). As I see nothing about beforeinput on execCommand spec, which is the expected behavior here?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodePen and compare the reported Chrome and Safari behavior for execCommand("bold"), beforeinput, and input. Review the relevant editing specifications and discussion to determine whether beforeinput should be dispatched and what inputType it should use; done means the expected behavior is clearly documented or resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100