Small World Engine API Reference - v0.78.00
    Preparing search index...

    Function isEditingTextInput

    • Helper to check whether an active element or event target is a text input field, textarea, select dropdown, or contenteditable element where keyboard shortcuts should not be intercepted.

      Parameters

      • target: EventTarget | null = ...

        The target element to test (defaults to document.activeElement).

      Returns boolean

      True if the user is currently editing text.