I am having a problem though. Descriptor and placeholder for the buttons are not replaced by the internationalized representations. So the string “cf_ohitems_button_title” defined here is not replaced by the corresponding string in my config/locales/client.en.yml. What am I missing?
Damn I knew it was something this simple. I already had the feeling this is cache related (development machine with vagrant) and cleared the cache. Now I had to realize I had tried to clear /tmp/cache
Thanks!
Btw. I guess you already realized that I forked your spoiler-ui plugin. If you want to pull something back, go for it! (I did some “deduplication” in spoiler-ui.js.es6 for example)
There is actually one more function you maybe can help me with. I want options for activating/deactivating buttons in the admin>plugins>settings pane so you only see the php button if this is all your users will need.
I have my config/settings.yml file with 4 settings but only “codefence_buttons_enabled” is shown.