Closed Shain-Dholakiya closed 1 year ago
I just remove the code:
"data-instgrm-captioned": true,
from
node_modules\.pnpm\react-social-media-embed@2.3.6_react-dom@18.2.0_react@18.2.0\node_modules\react-social-media-embed\dist\components\embeds\InstagramEmbed.js
and then:
Now we have to change the code to reflect this.
__ update 1:
I try to set data-instgrm-captioned
to false, do not work.
The documentation says that hiding caption for instagram is disabled and I saw the reasoning as well. But it seems like it works for me when getting rid of the caption data tag. Can this be added back? Instagram gives you the option to include or exclude the caption when embedding as well.