It appears that the document I get from
context.api().selectedDocument inside a handler that is not an action, returns a different type of "document" than does
context.actionContext.document in my handler for
How do I turn
...or am I going about this the wrong way?