Skip to content

Use focusNode/Offset instead of extentNode/Offset in EditContext example#384

Open
ltenmoz wants to merge 1 commit intomdn:mainfrom
ltenmoz:selection-focus-node
Open

Use focusNode/Offset instead of extentNode/Offset in EditContext example#384
ltenmoz wants to merge 1 commit intomdn:mainfrom
ltenmoz:selection-focus-node

Conversation

@ltenmoz
Copy link
Copy Markdown

@ltenmoz ltenmoz commented Apr 29, 2026

I have been working on adding EditContext support to Firefox and the EditContext example here has been useful for testing things out. :)
But unfortunately it uses the non-standard Selection.extentNode/Offset which is not supported on Firefox. Those are now just aliases for the standard focusNode/Offset see here and here), so it would be nice to use them instead.

@ltenmoz ltenmoz requested review from a team as code owners April 29, 2026 14:08
@ltenmoz ltenmoz requested a review from pepelsbey April 29, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants