[wp-trac] [WordPress Trac] #17133: Code Editor: Register ctrl + s event for plugin/theme editor
WordPress Trac
noreply at wordpress.org
Tue Mar 25 12:08:59 UTC 2025
#17133: Code Editor: Register ctrl + s event for plugin/theme editor
-------------------------------------+-------------------------------------
Reporter: jcnetsys | Owner: (none)
Type: enhancement | Status: new
Priority: high | Milestone: Future Release
Component: Plugins | Version: 3.1
Severity: normal | Resolution:
Keywords: has-ux-feedback has- | Focuses: javascript,
patch needs-testing has-testing- | administration
info |
-------------------------------------+-------------------------------------
Changes (by tusharaddweb):
* keywords: has-ux-feedback has-patch needs-testing => has-ux-feedback
has-patch needs-testing has-testing-info
Comment:
**Test Scenario: `Ctrl + S` Functionality in WordPress 6.7 After Applying
Patch**
**Test Environment:**
- **WordPress Version:** 6.7
- **Browsers Tested:** Chrome, Firefox, Edge
- **Filesystem Method:** Default
**Test Steps:**
1. Navigate to **Tools > Theme File Editor** or **Tools > Plugin File
Editor**.
2. Select a file, modify the content, and press `Ctrl + S`.
3. Confirm that the file is successfully saved without opening the
browser’s "Save As" dialog.
4. Verify that a success message appears after saving.
5. Reload the page and confirm that the changes persist.
**Expected Behavior:**
- `Ctrl + S` should trigger the **Update File** function.
- The file should be saved successfully without opening the browser’s
"Save As" dialog.
- A confirmation message should appear after saving.
**Actual Behavior:**
- After applying the patch, `Ctrl + S` successfully saves the file without
triggering the browser’s "Save As" dialog.
- A success message appears upon saving.
- Changes persist after reloading the page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17133#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list