LWT JavaScript API
    Preparing search index...
    • Fetch a term and render its editor, without deciding where it goes.

      Parameters

      • textId: number

        Text ID (may be 0 when wordId is given)

      • position: number

        Word position in text

      • OptionalwordId: number

        Word ID (optional, for existing terms)

      Returns Promise<{ editor: LoadedTermEditor; ok: true } | { error: string; ok: false }>

      The rendered editor, or the error to show instead