[web-php] PR #1213: Exclude input and textarea from "/" key handler
| From: | sy-records | Date: | Mon, 27 Jan 2025 02:54:55 +0000 |
| Subject: | [web-php] PR #1213: Exclude input and textarea from "/" key handler | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-32595@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/web-php/pull/1213
Author: sy-records
Fix #1211
Updated the keydown event listener to exclude <input> and <textarea> elements in
addition to contentEditable elements. This ensures that the "/" shortcut does not
interfere with user input in form fields or editable areas.