如何在屏幕角落放置按钮?

Can you please post a screenshot of where you want to add this button and what you want to happen when it’s clicked?

I think you’re referring to the plugin API. You can find all the methods in that API - with some examples - here

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/lib/plugin-api.js

You can also find more detailed explanations of some of the most popular methods in that API here

3 个赞