recently I set up my own discourse forum. I wish to have a poll button in my Composer toolbar. I found the plugin for it (GitHub - cpradio/discourse-plugin-poll-ui: Poll UI plugin for Discourse) but it looks incompatible with the current version of discourse.
When I opened the dev console I got error like below
I was trying to fix but after a few days of struggling, I don’t have an idea how to fix it.
Could anybody take look into it?
PS. I took a look into topic related to this plugin but it’s closed now (Poll UI: Adding Polls through a UI in the Composer Window)