Resolves entity ids from selection, supporting erase-style preselection handling.
Uses the active selection set when non-empty; otherwise prompts with promptKey. In review mode, annotation entities are filtered out.
promptKey
Application context with view, document, and editor access.
I18n sysCmdPrompt key for the selection prompt.
sysCmdPrompt
Resolved entity ids, or undefined when nothing is selected.
undefined
Resolves entity ids from selection, supporting erase-style preselection handling.
Uses the active selection set when non-empty; otherwise prompts with
promptKey. In review mode, annotation entities are filtered out.