Implement EditContext
Categories
(Core :: DOM: Editor, enhancement)
Tracking
()
| Size Estimate | L |
People
(Reporter: daniec, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [platform-feature][webcompat:risk-high])
User Story
web-feature: edit-context
Steps to reproduce:
Filing a tracking bug for the implementation of EditContext, to be referenced in spec draft changes.
See:
https://github.com/w3c/edit-context
https://w3c.github.io/edit-context/
https://developer.mozilla.org/en-US/docs/Web/API/EditContext_API
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
According to the discussion in the spec issues, getTargetRanges need to return reasonable content range even with EditContext. Then, we need to use the computing methods of getTargetRanges in HTMLEditor, but they depend on Selection and may update Selection temporarily. However, that may cause complicated web-compat issues. Therefore, we need to fix bug 1923795 before working on this.
Updated•5 months ago
|
Updated•4 months ago
|
Updated•2 months ago
|
Updated•1 month ago
|
Description
•