Discourse GIFs TC は GIF を追加する際に toolbarEvent を使用しないのはなぜですか?

I was looking at the gifs TC yesterday, and I noticed this block of code:

Where it uses the appEvents service. The thing is, why can’t toolbarEvent be passed in at the action?

I’ve tried it and it seems to work. Was there a reason why that was not used?

Considering it uses TextManipulation under the hood, there seems to be a insertText method.

Just curious.

Thanks.

(post deleted by author)