ITADN

Ctrl+Delete and Ctrl+Backspace don't work in text boxes

#9986OpenRodrigodd 创建于 2026-06-09
R
Rodrigoddcommented
### Summary Ctrl+Backspace and Ctrl+Delete are standard editing operation supported by all browsers and text editors in general that deletes until the next word boundary. Ladybird does not currently implement this feature. Related issue: #3728 (I actually implemented it in [this branch](https://github.com/Rodrigodd/ladybird/tree/feat/word-deletion-shortcuts) but code contributions have been closed in the meantime) ### Operating system Linux ### Steps to reproduce 1. Starting editing text in a `input`, `textarea` or `contenteditable=true` element and write some text. 2. Press ctrl+backspace or ctrl+delete. ### Expected behavior The text is deleted until the next word boundary. ### Actual behavior The deletion operation equivalent to not holding ctrl is performed instead. ### URL for a reduced test case N/A ### HTML/SVG/etc. source for a reduced test case ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Manual Test: Ctrl+Backspace / Ctrl+Delete</title> </head> <body> <section> <h2>Input Field</h2> <input type="text" value="The quick brown fox jumps over the lazy dog."> </section> <section> <h2>Textarea</h2> <textarea rows="4">One two three. Four five six! Seven eight nine?</textarea> </section> <section> <h2>ContentEditable</h2> <div contenteditable="true">This is a <b>rich text</b> area with <i>mixed</i> styles.</div> </section> </body> </html> ``` ### Log output and (if possible) backtrace ```shell N/A ``` ### Screenshots or screen recordings _No response_ ### Build flags or config settings _No response_
1 条评论