···44 autocorrect: 'off',
55 spellcheck: 'false',
66} as const
77+88+/**
99+ * Check if an event target is an editable element (input, textarea, or contenteditable).
1010+ * Useful for keyboard shortcut handlers that should not trigger when the user is typing.
1111+ */
1212+export function isEditableElement(target: EventTarget | null): boolean {
1313+ if (!target || !(target instanceof HTMLElement)) return false
1414+ return target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable
1515+}