Thanks Robert - I was hoping a something simple would suffice! ![]()
It’s been a while since I read the plugin guide but from memory it goes something like this?
- rails g plugin NAME
- locate the file you want to change
- copy it into the same directory in your plugin
- make your changes
However this is not working for me.
Editing this file directly (on line 29): discourse/app/assets/javascripts/discourse/app/lib/render-tag.js at bbe5d8d5cf1220165842985c0e2cd4c454d501cd · discourse/discourse · GitHub has the desired effect, but when I duplicate the file in the following location it has no impact plugins/my-plugin/app/assets/javascripts/discourse/app/lib/render-tag.js.
Any ideas what I’m doing wrong? Has something changed since I read the guides perhaps? (For some reason I thought it was as simple as overriding files to change small things like this).