Skip to content

Insert text should prevent browser from breaking DOM structure.#18729

Merged
niegowski merged 2 commits intoreleasefrom
ck/18722-code-block-case
Jun 17, 2025
Merged

Insert text should prevent browser from breaking DOM structure.#18729
niegowski merged 2 commits intoreleasefrom
ck/18722-code-block-case

Conversation

@niegowski
Copy link
Copy Markdown
Contributor

Suggested merge commit message (convention)

Internal (typing): The engine should prevent the browser from modifying the DOM structure while user is typing. See #18722.


Additional information

The beforeinput event target ranges used to be fixed by the selection post-fixer in a generic way (inside EditingController). Now the target ranges are fixed on demand after translating from the view to the model ranges.

@niegowski niegowski requested a review from mmotyczynska June 17, 2025 19:30
Witoso
Witoso previously approved these changes Jun 17, 2025
@niegowski niegowski merged commit 2a099e6 into release Jun 17, 2025
11 checks passed
@niegowski niegowski deleted the ck/18722-code-block-case branch June 17, 2025 20:53
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.

3 participants