Overriding "toggle reply" button

Looks like this was a bug in the plugin api:

https://github.com/discourse/discourse/commit/6fec4982d903cbb088f95b5dcae7b67f52a90e99

The issue here is that we were only looking in the container for the widget class, which only works if it’s the only widget exported by a javascript file.

This patch allows us to look up any widget registered with that name.

4 Likes