如何创建一个包含后台 API 调用以在起草时填充 Composer 的插件

Thanks, that’s really helpful Yes, a modal actually seems the thing I’m looking for: it interrupts the user’s flow, and only when the user has completed the modal, things go back to the state before. I’ll have a look how the Insert Hyperlink Modal works.

Question: Where can I find docs for DModal, DButton, and other such Discourse-specific objects?