Hotkey overrides editor shortcut even if it is conditional

Steps to reproduce

  1. Bind the Graph View: start graph timelapse animation to CTRL+C
  2. Open a markdown editor
  3. Copy text using CTRL+C and paste
  4. Observe the copy action is not working.

Did you follow the troubleshooting guide? [Y/N]

No. There isn’t much to try here.

Expected result

For conditional actions, if the condition fails, the hotkey should revert back to the default behaviour.

Actual result

The hotkey is intercepted and rejected

Environment

SYSTEM INFO:
	Obsidian version: v1.7.7
	Installer version: v1.7.7
	Operating system: #1 SMP PREEMPT_DYNAMIC Fri, 15 Nov 2024 15:35:07 +0000 6.11.8-arch1-2
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

I’m doing this from within my own extension, but it works using the sandbox vault without any plugins.

The same thing holds for CTRL+Z and the like

You can search/open a feature request for this