BeefreeSDK / beefree-sdk-npm-official

Official NPM package of Beefree SDK
https://developers.beefree.io
Apache License 2.0
19 stars 7 forks source link

CustomAttributes are not being added #150

Open mariela-plaza opened 3 months ago

mariela-plaza commented 3 months ago

Hello there! We've been working with BeeFree for a while and usually the tool works quite well but yesterday I encountered an issue after deploying my app to our dev environment to test it out.

We have a number of custom attributes in our code which we feed to the beefree config to have as possible selectors to apply for anchor tags and images, just like the documentation explains: https://docs.beefree.io/beefree-sdk/advanced-options/custom-attributes

These custom attributes follow the specifications of the beefree documentation, meaning they have a key, value and target properties: EXAMPLE: key: "customization-image-logo-color" target: "tag" value: true

In the BeeFree interface the image appears to have the custom attribute correctly attatched to it but when inspecting the HTML file generated by BeeFree there is no custom attribute added to the image itself. beefree-custom-attributes

We rely on this particular feature of beefree very heavily in our code and it is causing us to delay uploading the latest changes to production.

Could you please help us out with this? Thank you so much in advance!