Update modal windows and dropdowns to close on esc key press #970

Closed
opened 2026-02-04 23:13:45 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @BeckerFelix on GitHub (Dec 25, 2018).

Describe the feature you'd like
I'd like to be able to close and save the code block window by keystroke. E.g. esc or enter. I love the shortcuts but as far as I see, there is no assignment for this action.

Describe the benefits this feature would bring to BookStack users
Simplification in workflow, no need to grab the mouse and aim for the save code button.

Originally created by @BeckerFelix on GitHub (Dec 25, 2018). **Describe the feature you'd like** I'd like to be able to close and save the code block window by keystroke. E.g. _esc_ or _enter_. I love the shortcuts but as far as I see, there is no assignment for this action. **Describe the benefits this feature would bring to BookStack users** Simplification in workflow, no need to grab the mouse and aim for the _save code_ button.
OVERLORD added the 🛠️ Enhancement💆 UX labels 2026-02-04 23:13:45 +03:00
Author
Owner

@BeckerFelix commented on GitHub (Dec 25, 2018):

Actually by default, windows or menus should close with esc. For example having dropped-down the Formats selection in WYSIWYG editor, it seems natural to me to abort by esc keystroke.

@BeckerFelix commented on GitHub (Dec 25, 2018): Actually by default, windows or menus should close with _esc_. For example having dropped-down the _Formats_ selection in WYSIWYG editor, it seems natural to me to abort by _esc_ keystroke.
Author
Owner

@ssddanbrown commented on GitHub (Aug 26, 2019):

As of the next release, v0.27, you should be able to close all BookStack native dropdowns and modal windows using the escape key. Unfortunately, The WYSIWYG editor dropdowns are harder to modify so won't yet get this functionality.

@ssddanbrown commented on GitHub (Aug 26, 2019): As of the next release, v0.27, you should be able to close all BookStack native dropdowns and modal windows using the escape key. Unfortunately, The WYSIWYG editor dropdowns are harder to modify so won't yet get this functionality.
Author
Owner

@ssddanbrown commented on GitHub (May 16, 2022):

With the update of the editor in v22.02 it looks like this has now been achieved, Will therefore close this off.

@ssddanbrown commented on GitHub (May 16, 2022): With the update of the editor in v22.02 it looks like this has now been achieved, Will therefore close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#970