Backspacing a selected word does not remove the adjacent space on macOS
Deleting a selected word on macOS also removes an adjacent space character. This behavior is part of macOS and not specific to any browser and works consistently across browsers (Chrome, Safari and Firefox were tested). It works for native apps, <input>, <textarea> and vanilla [contenteditable="true"] elements.
📝 Provide detailed reproduction steps (if any)
- Type a few words into the editor:
This is a simple test. - Double-click on
simpleto select that word. - Hit backspace to delete the word.
✔️ Expected result
The line should read: This is a test
❌ Actual result
The line now contains two successive spaces: This is a test.
📃 Other details
- Browser: Not relevant, this is OS specific.
- OS: macOS 13.4.1
- First affected CKEditor version: Unknown
- Installed CKEditor plugins: Not relevant
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
Quick note here: this result is only expected by double-clicking on the word. If you manually use the cursor or arrow keys to select the word and delete it, the space should not be removed.
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
This unexpected behavior is still present.