-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
Title
Browser spellcheck correction removes adjacent text when URL plugin or "enter=BR" is enabled
Description
When the URL plugin is included or "enter=BR" is enabled, using the browser’s native spellcheck context menu removes unrelated text that follows the corrected word.
This does not appear to happen when the URL plugin is excluded or "enter=P".
Reproduction Steps
The sandbox below demonstrates both scenarios:
Demo 1
- Open the demo sandbox:
https://codesandbox.io/p/sandbox/358nlp - In the editor, type a misspelled word such as:
cauzing - Immediately after it, type another word, for example:
test - Right-click
cauzing - Use the browser context menu to correct the spelling
Demo 2
- Open the demo sandbox:
https://codesandbox.io/p/sandbox/358nlp - In the editor, right click on 'followin'
- Right-click
following - Use the browser context menu to correct the spelling
Video Demo
https://github.com/user-attachments/assets/ebda08fe-593d-4ba8-9e81-171f7eafe2c6
Expected Behavior
Only the misspelled word should be corrected.
The word typed after it should remain intact.
Actual Behavior
The word typed after the misspelled word is deleted when the correction is applied.
Environment
- React integration (also without React)
- URL plugin enabled or enter=BR
- Reproduced in CodeSandbox (link above)
- Tested Browsers: Chrome Version 145.0.7632.77, Edge Version 145.0.3800.65
Please let me know if additional instrumentation or logging would help isolate the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels