Add image tag using api.onToolbarCreate

Silly me. I completely missed the I18n.translations[currentLocale].js.composer.image_carousel_placeholder line above that.
Now:

I18n.translations[currentLocale].js.composer.image_carousel_placeholder = `<img src="${settings.image_carousel_placeholder}" height="200" width="300" />`;

That works much better.

1 Like