I am working on a project in which we implemented content management with a word. We have several word files that are processed using OpenXML. Users can open these files in two ways - upload a copy or edit online. Online editing is done using Office Online Server and a custom Wopi server built from this example .
Online editing works fine, but Word Online has limited features compared to desktop Word.
I am trying to create a functionality similar to Sharepoint, where the user has 2 options - Edit in Word, Change in browser: 
In Office Online Server, I do not have such parameters, I can only edit in the browser: 
Even in edit mode, Sharepoint provides a link for Edit in Word: 
while Office Online Server does not have this: 
My question is how is it implemented in Sharepoint? In other words, did I miss something on the Wopi server to enable it, or did Microsoft build this feature in Sharepoint without the need for Wopi and / or OWA?
Any ideas would be appreciated!
source share