Getting output of callback method and displaying in the left pane

Plugin example that I’ve provided also demonstrates how to place selected text into a Content Control too. For that you need to select paragraph and press Change Field State button.