Allow a way to set the cursor focus back to the Word document, from an Add-In
When using an Add-in on Desktop Word, the user must click back into the document to set the focus from the Add-in's sandboxed browser environment, back to the document.
Offering a way to programmatically switch the focus back would enable developers to offer a more seamless UX for editing document content via Add-ins.
Having Add-Ins that _add_ text to the document seems like a normal thing. To add a specific scenario:
In my case, the user clicks a button in the Add In, and text gets added at the current cursor/selection position in the document. The selection is then set to be around this newly added text.
This would normally have a nice effect, because the user could easily delete, type over, or format the text that was just inserted. But instead, keystrokes don't work because the focus is in the Add-In sidebar, and when that fails, clicking into the document replaces the selection and ruins the experience.
Marcus Rowell commented
As described https://stackoverflow.com/questions/39888050/how-to-send-back-ms-word-cursor-focus-on-current-document-after-click-in-task-pa and https://github.com/OfficeDev/office-js/issues/316 this is currently not possible at the moment.
It would be a really great feature to allow. My users find this frustrating when they perform an action in a Word Add-in and they then have to click the document to return focus to the currently selected text.