Commands get applied to wrong editor (if editor in side panel)

Steps to reproduce

Create 2 new notes.
Open both of them up.
Drag one into one of the side panels.
Focus the note in the side panel.
Try editor shortcuts (e.g. bold, delete line, etc) or the same shortcut form the command palette.

Expected result

Editor commands are only apply to the panel in focus regardless of where it’s placed.

Actual result

Commands are applied to the last focused editor that is not in a side panel at the last place the cursor was focused regardless of whether an editor is focused in the side panel.

Environment

  • Operating system: Windows 10
  • Obsidian version: v0.12.3

Additional information

Strangely as you can see at the end of the recording, copy/paste do work correctly.

A post was merged into an existing topic: Hotkeys \ command should apply to sidebar notes when they are focused