I have more or less figured out what I needed to know. Here is what I’ve found for anyone else interested.
Although in the Discourse repo there is still a
topic-map component, it doesn’t seem to be called. However, the
topic-map widget is very much present is called in the
In my plugin, I have created the path
discourse/widgets/post.js.es6 and copied the contents of the file matching this path from the Discourse repo. Then look for this line hereL
result.push(this.attach('topic-map', attrs)); and change
unshift. This will bring the
topic-map to above the post content.
unshift brings it to the front of the array, even above details like date posted and the poster’s username. So if you use:
result.splice(1, 0, (this.attach('topic-map', attrs))); then it will place the
topic-map in a desirable position.