+
+
+ {/* biome-ignore lint/a11y/noNoninteractiveTabindex: focusable stand-in for a node view inside the editor */}
+
+
+
+ )
+ focusWithEditability(container.querySelector('span') as HTMLElement, true)
+ pressModK()
+ expect(handler).not.toHaveBeenCalled()
+ })
+
+ it('fires a non-editable command when focus is in a contenteditable="false" element', () => {
+ const handler = vi.fn()
+ mount(
+